Completed
Pull Request — master (#10)
by alexfloppy
07:51
created

app.js ➔ ... ➔ T   A

Complexity

Conditions 1
Paths 2

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 1
rs 10
cc 1
nc 2
nop 3
1
!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,e,n){Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=12)}([function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(r){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){window._=n(6),window.$=window.jQuery=n(5),n(4),window.Vue=n(9),n(8),Vue.http.interceptors.push(function(t,e){t.headers["X-CSRF-TOKEN"]=Laravel.csrfToken,e()})},function(t,e,n){var r,i;r=n(3),r&&r.__esModule&&Object.keys(r).length>1,i=n(11),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={ready:function(){}},t.exports=e["default"]},function(t,e){if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,r=this;t(this).one("bsTransitionEnd",function(){n=!0});var i=function(){n||t(r).trigger(t.support.transition.end)};return setTimeout(i,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),i=n.data("bs.alert");i||n.data("bs.alert",i=new r(this)),"string"==typeof e&&i[e].call(n)})}var n='[data-dismiss="alert"]',r=function(e){t(e).on("click",n,this.close)};r.VERSION="3.3.7",r.TRANSITION_DURATION=150,r.prototype.close=function(e){function n(){s.detach().trigger("closed.bs.alert").remove()}var i=t(this),o=i.attr("data-target");o||(o=i.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var s=t("#"===o?[]:o);e&&e.preventDefault(),s.length||(s=i.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n())};var i=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=r,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",n,r.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.button"),o="object"==typeof e&&e;i||r.data("bs.button",i=new n(this,o)),"toggle"==e?i.toggle():e&&i.setState(e)})}var n=function(e,r){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,r),this.isLoading=!1};n.VERSION="3.3.7",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();e+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(t.proxy(function(){r[i](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,r.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=r,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var r=t(n.target).closest(".btn");e.call(r,"toggle"),t(n.target).is('input[type="radio"], input[type="checkbox"]')||(n.preventDefault(),r.is("input,button")?r.trigger("focus"):r.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.carousel"),o=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e),s="string"==typeof e?e:o.slide;i||r.data("bs.carousel",i=new n(this,o)),"number"==typeof e?i.to(e):s?i[s]():o.interval&&i.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e),r="prev"==t&&0===n||"next"==t&&n==this.$items.length-1;if(r&&!this.options.wrap)return e;var i="prev"==t?-1:1,o=(n+i)%this.$items.length;return this.$items.eq(o)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,r){var i=this.$element.find(".item.active"),o=r||this.getItemForDirection(e,i),s=this.interval,a="next"==e?"left":"right",u=this;if(o.hasClass("active"))return this.sliding=!1;var c=o[0],l=t.Event("slide.bs.carousel",{relatedTarget:c,direction:a});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var f=t(this.$indicators.children()[this.getItemIndex(o)]);f&&f.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:c,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(e),o[0].offsetWidth,i.addClass(a),o.addClass(a),i.one("bsTransitionEnd",function(){o.removeClass([e,a].join(" ")).addClass("active"),i.removeClass(["active",a].join(" ")),u.sliding=!1,setTimeout(function(){u.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(h)),s&&this.cycle(),this}};var r=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=r,this};var i=function(n){var r,i=t(this),o=t(i.attr("data-target")||(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var s=t.extend({},o.data(),i.data()),a=i.attr("data-slide-to");a&&(s.interval=!1),e.call(o,s),a&&o.data("bs.carousel").to(a),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),+function(t){"use strict";function e(e){var n,r=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(r)}function n(e){return this.each(function(){var n=t(this),i=n.data("bs.collapse"),o=t.extend({},r.DEFAULTS,n.data(),"object"==typeof e&&e);!i&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),i||n.data("bs.collapse",i=new r(this,o)),"string"==typeof e&&i[e]()})}var r=function(e,n){this.$element=t(e),this.options=t.extend({},r.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};r.VERSION="3.3.7",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(e=i.data("bs.collapse"),e&&e.transitioning))){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(n.call(i,"hide"),e||i.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var u=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[s](this.$element[0][u])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(r.TRANSITION_DURATION):i.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},r.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,r){var i=t(r);this.addAriaAndCollapsedClass(e(i),i)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=r,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(r){var i=t(this);i.attr("data-target")||r.preventDefault();var o=e(i),s=o.data("bs.collapse"),a=s?"toggle":i.data();n.call(o,a)})}(jQuery),+function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&t(n);return r&&r.length?r:e.parent()}function n(n){n&&3===n.which||(t(i).remove(),t(o).each(function(){var r=t(this),i=e(r),o={relatedTarget:this};i.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(i[0],n.target)||(i.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(r.attr("aria-expanded","false"),i.removeClass("open").trigger(t.Event("hidden.bs.dropdown",o)))))}))}function r(e){return this.each(function(){var n=t(this),r=n.data("bs.dropdown");r||n.data("bs.dropdown",r=new s(this)),"string"==typeof e&&r[e].call(n)})}var i=".dropdown-backdrop",o='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.7",s.prototype.toggle=function(r){var i=t(this);if(!i.is(".disabled, :disabled")){var o=e(i),s=o.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var a={relatedTarget:this};if(o.trigger(r=t.Event("show.bs.dropdown",a)),r.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(t.Event("shown.bs.dropdown",a))}return!1}},s.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var r=t(this);if(n.preventDefault(),n.stopPropagation(),!r.is(".disabled, :disabled")){var i=e(r),s=i.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&i.find(o).trigger("focus"),r.trigger("click");var a=" li:not(.disabled):visible a",u=i.find(".dropdown-menu"+a);if(u.length){var c=u.index(n.target);38==n.which&&c>0&&c--,40==n.which&&c<u.length-1&&c++,~c||(c=0),u.eq(c).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdown=r,t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",o,s.prototype.toggle).on("keydown.bs.dropdown.data-api",o,s.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",s.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,r){return this.each(function(){var i=t(this),o=i.data("bs.modal"),s=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e);o||i.data("bs.modal",o=new n(this,s)),"string"==typeof e?o[e](r):s.show&&o.show(r)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var r=this,i=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var i=t.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),i&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:e});i?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(n.TRANSITION_DURATION):r.$element.trigger("focus").trigger(o)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var r=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&i;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;o?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){r.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):s()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var r=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=r,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var r=t(this),i=r.attr("href"),o=t(r.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),s=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(i)&&i},o.data(),r.data());r.is("a")&&n.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})}),e.call(o,s,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.tooltip"),o="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||r.data("bs.tooltip",i=new n(this,o)),"string"==typeof e&&i[e]())})}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,r){var i=this;if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),s=o.length;s--;){var a=o[s];if("click"==a)i.$element.on("click."+i.type,i.options.selector,t.proxy(i.toggle,i));else if("manual"!=a){var u="hover"==a?"mouseenter":"focusin",c="hover"==a?"mouseleave":"focusout";i.$element.on(u+"."+i.type,i.options.selector,t.proxy(i.enter,i)),i.$element.on(c+"."+i.type,i.options.selector,t.proxy(i.leave,i))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,r){n[t]!=r&&(e[t]=r)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){var t=this;for(var e in this.inState)if(t.inState[e])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue())return clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var r=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!r)return;var i=this,o=this.tip(),s=this.getUID(this.type);this.setContent(),o.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,u=/\s?auto?\s?/i,c=u.test(a);c&&(a=a.replace(u,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),f=o[0].offsetWidth,h=o[0].offsetHeight;if(c){var p=a,d=this.getPosition(this.$viewport);a="bottom"==a&&l.bottom+h>d.bottom?"top":"top"==a&&l.top-h<d.top?"bottom":"right"==a&&l.right+f>d.width?"left":"left"==a&&l.left-f<d.left?"right":a,o.removeClass(p).addClass(a)}var v=this.getCalculatedOffset(a,l,f,h);this.applyPlacement(v,a);var g=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},n.prototype.applyPlacement=function(e,n){var r=this.tip(),i=r[0].offsetWidth,o=r[0].offsetHeight,s=parseInt(r.css("margin-top"),10),a=parseInt(r.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top+=s,e.left+=a,t.offset.setOffset(r[0],t.extend({using:function(t){r.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),r.addClass("in");var u=r[0].offsetWidth,c=r[0].offsetHeight;"top"==n&&c!=o&&(e.top=e.top+o-c);var l=this.getViewportAdjustedDelta(n,e,u,c);l.left?e.left+=l.left:e.top+=l.top;var f=/top|bottom/.test(n),h=f?2*l.left-i+u:2*l.top-o+c,p=f?"offsetWidth":"offsetHeight";r.offset(e),this.replaceArrow(h,r[0][p],f)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function r(){"in"!=i.hoverState&&o.detach(),i.$element&&i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),e&&e()}var i=this,o=t(this.$tip),s=t.Event("hide.bs."+this.type);if(this.$element.trigger(s),!s.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",r).emulateTransitionEnd(n.TRANSITION_DURATION):r(),this.hoverState=null,this},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=t.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=window.SVGElement&&n instanceof window.SVGElement,s=r?{top:0,left:0}:o?null:e.offset(),a={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},u=r?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},i,a,u,s)},n.prototype.getCalculatedOffset=function(t,e,n,r){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-r,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-r/2,left:e.left-n}:{top:e.top+e.height/2-r/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-o-s.scroll,u=e.top+o-s.scroll+r;a<s.top?i.top=s.top-a:u>s.top+s.height&&(i.top=s.top+s.height-u)}else{var c=e.left-o,l=e.left+o+n;c<s.left?i.left=s.left-c:l>s.right&&(i.left=s.left+s.width-l)}return i},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var r=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=r,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.popover"),o="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||r.data("bs.popover",i=new n(this,o)),"string"==typeof e&&i[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.7",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var r=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=r,this}}(jQuery),+function(t){"use strict";function e(n,r){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=t(this),i=r.data("bs.scrollspy"),o="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new e(this,o)),"string"==typeof n&&i[n]()})}e.VERSION="3.3.7",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){
0 ignored issues
show
Bug introduced by
The variable Vue seems to be never declared. If this is a global, consider adding a /** global: Vue */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable Laravel seems to be never declared. If this is a global, consider adding a /** global: Laravel */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
Complexity Best Practice introduced by
There is no return statement if !(t > this.$items.length - 1 || t < 0) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Unused Code introduced by
The parameter t is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Complexity Best Practice introduced by
There is no return statement if this.$element.trigger(s), !s.isDefaultPrevented() is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Performance Best Practice introduced by
Using new Function() to create a function is slow and difficult to debug. Such functions do not create a closure. Consider using another way to define your function.
Loading history...
Comprehensibility introduced by
Are you sure you want to assign to t here, or did you intend to make a comparison like t === e.attr("data-origi...itle.call(e.0): n.title?
Loading history...
Security Performance introduced by
Calls to eval are slow and potentially dangerous, especially on untrusted code. Please consider whether there is another way to achieve your goal.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like e should be capitalized.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like r should be capitalized.
Loading history...
Complexity Best Practice introduced by
There is no return statement if !this.sliding is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like s should be capitalized.
Loading history...
Complexity Best Practice introduced by
There is no return statement if this.$element.trigger(o), !o.isDefaultPrevented() is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if n || n = new this.constr... !1, !n.isInStateTrue() is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if this.$element.trigger(l), !l.isDefaultPrevented() is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if !this.transitioning && t...$element.hasClass("in") is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if (38|40|27|32).test(n.whi....test(n.target.tagName) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if n.preventDefault(), n.st...".disabled, :disabled") is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Best Practice introduced by
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like n should be capitalized.
Loading history...
Unused Code introduced by
The parameter e is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Complexity Best Practice introduced by
There is no return statement if !this.transitioning && !...$element.hasClass("in") is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Complexity Best Practice introduced by
There is no return statement if u.length is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if !i.is(".disabled, :disabled") is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style introduced by
Consider using undefined instead of void(0). It is equivalent and more straightforward to read.
Loading history...
Unused Code introduced by
The variable t seems to be never used. Consider removing it.
Loading history...
Complexity Best Practice introduced by
There is no return statement if !(i && i.length && e = i..., e && e.transitioning) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity introduced by
A for in loop automatically includes the property of any prototype object, consider checking the key using hasOwnProperty.

When iterating over the keys of an object, this includes not only the keys of the object, but also keys contained in the prototype of that object. It is generally a best practice to check for these keys specifically:

var someObject;
for (var key in someObject) {
    if ( ! someObject.hasOwnProperty(key)) {
        continue; // Skip keys from the prototype.
    }

    doSomethingWith(key);
}
Loading history...
Complexity Best Practice introduced by
There is no return statement if this.$element.trigger(e), !e.isDefaultPrevented() is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if t(e.target).is(this) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Duplication introduced by
This code seems to be duplicated in your project.
Loading history...
Duplication introduced by
This code seems to be duplicated in your project.
Loading history...
2
return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),i=e.data("target")||e.attr("href"),o=/^#./.test(i)&&t(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+r,i]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this,n=this.$scrollElement.scrollTop()+this.options.offset,r=this.getScrollHeight(),i=this.options.offset+r-this.$scrollElement.height(),o=this.offsets,s=this.targets,a=this.activeTarget;if(this.scrollHeight!=r&&this.refresh(),n>=i)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&n<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)a!=s[t]&&n>=o[t]&&(void 0===o[t+1]||n<o[t+1])&&e.activate(s[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',r=t(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=r,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new n(this)),"string"==typeof e&&i[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),r=e.data("target");if(r||(r=e.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var i=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(o),e.trigger(s),!s.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=t(r);this.activate(e.closest("li"),n),this.activate(a,a.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},n.prototype.activate=function(e,r,i){function o(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var s=r.find("> .active"),a=i&&t.support.transition&&(s.length&&s.hasClass("fade")||!!r.find("> .fade").length);s.length&&a?s.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),s.removeClass("in")};var r=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=r,this};var i=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.affix"),o="object"==typeof e&&e;i||r.data("bs.affix",i=new n(this,o)),"string"==typeof e&&i[e]()})}var n=function(e,r){this.options=t.extend({},n.DEFAULTS,r),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.7",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=o.top)&&"bottom":!(i+s<=t-r)&&"bottom";var a=null==this.affixed,u=a?i:o.top,c=a?s:e;return null!=n&&i<=n?"top":null!=r&&u+c>=t-r&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),r=this.options.offset,i=r.top,o=r.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof r&&(o=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof o&&(o=r.bottom(this.$element));var a=this.getState(s,e,i,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var u="affix"+(a?"-"+a:""),c=t.Event(u+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(u).trigger(u.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-e-o})}};var r=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=r,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),r=n.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),e.call(n,r)})})}(jQuery)},function(t,e,n){var r,i;!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){"use strict";function s(t,e){e=e||rt;var n=e.createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}function a(t){var e=!!t&&"length"in t&&t.length,n=gt.type(t);return"function"!==n&&!gt.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function u(t,e,n){if(gt.isFunction(e))return gt.grep(t,function(t,r){return!!e.call(t,r,t)!==n});if(e.nodeType)return gt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if($t.test(e))return gt.filter(e,t,n);e=gt.filter(e,t)}return gt.grep(t,function(t){return ut.call(e,t)>-1!==n&&1===t.nodeType})}function c(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function l(t){var e={};return gt.each(t.match(Dt)||[],function(t,n){e[n]=!0}),e}function f(t){return t}function h(t){throw t}function p(t,e,n){var r;try{t&&gt.isFunction(r=t.promise)?r.call(t).done(e).fail(n):t&&gt.isFunction(r=t.then)?r.call(t,e,n):e.call(void 0,t)}catch(t){n.call(void 0,t)}}function d(){rt.removeEventListener("DOMContentLoaded",d),n.removeEventListener("load",d),gt.ready()}function v(){this.expando=gt.expando+v.uid++}function g(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(Wt,"-$&").toLowerCase(),n=t.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ht.test(n)?JSON.parse(n):n)}catch(i){}Ft.set(t,e,n)}else n=void 0;return n}function m(t,e,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return gt.css(t,e,"")},u=a(),c=n&&n[3]||(gt.cssNumber[e]?"":"px"),l=(gt.cssNumber[e]||"px"!==c&&+u)&&Vt.exec(gt.css(t,e));if(l&&l[3]!==c){c=c||l[3],n=n||[],l=+u||1;do o=o||".5",l/=o,gt.style(t,e,l+c);while(o!==(o=a()/u)&&1!==o&&--s)}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}function y(t){var e,n=t.ownerDocument,r=t.nodeName,i=zt[r];return i?i:(e=n.body.appendChild(n.createElement(r)),i=gt.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),zt[r]=i,i)}function b(t,e){for(var n,r,i=[],o=0,s=t.length;o<s;o++)r=t[o],r.style&&(n=r.style.display,e?("none"===n&&(i[o]=Pt.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Bt(r)&&(i[o]=y(r))):"none"!==n&&(i[o]="none",Pt.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}function _(t,e){var n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&gt.nodeName(t,e)?gt.merge([t],n):n}function w(t,e){for(var n=0,r=t.length;n<r;n++)Pt.set(t[n],"globalEval",!e||Pt.get(e[n],"globalEval"))}function x(t,e,n,r,i){for(var o,s,a,u,c,l,f=e.createDocumentFragment(),h=[],p=0,d=t.length;p<d;p++)if(o=t[p],o||0===o)if("object"===gt.type(o))gt.merge(h,o.nodeType?[o]:o);else if(Gt.test(o)){for(s=s||f.appendChild(e.createElement("div")),a=(Xt.exec(o)||["",""])[1].toLowerCase(),u=Yt[a]||Yt._default,s.innerHTML=u[1]+gt.htmlPrefilter(o)+u[2],l=u[0];l--;)s=s.lastChild;gt.merge(h,s.childNodes),s=f.firstChild,s.textContent=""}else h.push(e.createTextNode(o));for(f.textContent="",p=0;o=h[p++];)if(r&&gt.inArray(o,r)>-1)i&&i.push(o);else if(c=gt.contains(o.ownerDocument,o),s=_(f.appendChild(o),"script"),c&&w(s),n)for(l=0;o=s[l++];)Jt.test(o.type||"")&&n.push(o);return f}function C(){return!0}function T(){return!1}function E(){try{return rt.activeElement}catch(t){}}function $(t,e,n,r,i,o){var s,a;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(a in e)$(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=T;else if(!i)return t;return 1===o&&(s=i,i=function(t){return gt().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=gt.guid++)),t.each(function(){gt.event.add(this,e,i,r,n)})}function k(t,e){return gt.nodeName(t,"table")&&gt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t:t}function N(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function O(t){var e=oe.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function A(t,e){var n,r,i,o,s,a,u,c;if(1===e.nodeType){if(Pt.hasData(t)&&(o=Pt.access(t),s=Pt.set(e,o),c=o.events)){delete s.handle,s.events={};for(i in c)for(n=0,r=c[i].length;n<r;n++)gt.event.add(e,i,c[i][n])}Ft.hasData(t)&&(a=Ft.access(t),u=gt.extend({},a),Ft.set(e,u))}}function j(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Qt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function D(t,e,n,r){e=st.apply([],e);var i,o,a,u,c,l,f=0,h=t.length,p=h-1,d=e[0],v=gt.isFunction(d);if(v||h>1&&"string"==typeof d&&!dt.checkClone&&ie.test(d))return t.each(function(i){var o=t.eq(i);v&&(e[0]=d.call(this,i,o.html())),D(o,e,n,r)});if(h&&(i=x(e,t[0].ownerDocument,!1,t,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=gt.map(_(i,"script"),N),u=a.length;f<h;f++)c=i,f!==p&&(c=gt.clone(c,!0,!0),u&&gt.merge(a,_(c,"script"))),n.call(t[f],c,f);if(u)for(l=a[a.length-1].ownerDocument,gt.map(a,O),f=0;f<u;f++)c=a[f],Jt.test(c.type||"")&&!Pt.access(c,"globalEval")&&gt.contains(l,c)&&(c.src?gt._evalUrl&&gt._evalUrl(c.src):s(c.textContent.replace(se,""),l))}return t}function S(t,e,n){for(var r,i=e?gt.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||gt.cleanData(_(r)),r.parentNode&&(n&&gt.contains(r.ownerDocument,r)&&w(_(r,"script")),r.parentNode.removeChild(r));return t}function I(t,e,n){var r,i,o,s,a=t.style;return n=n||ce(t),n&&(s=n.getPropertyValue(e)||n[e],""!==s||gt.contains(t.ownerDocument,t)||(s=gt.style(t,e)),!dt.pixelMarginRight()&&ue.test(s)&&ae.test(e)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==s?s+"":s}function R(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function L(t){if(t in de)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=pe.length;n--;)if(t=pe[n]+e,t in de)return t}function P(t,e,n){var r=Vt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function F(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=gt.css(t,n+Mt[o],!0,i)),r?("content"===n&&(s-=gt.css(t,"padding"+Mt[o],!0,i)),"margin"!==n&&(s-=gt.css(t,"border"+Mt[o]+"Width",!0,i))):(s+=gt.css(t,"padding"+Mt[o],!0,i),"padding"!==n&&(s+=gt.css(t,"border"+Mt[o]+"Width",!0,i)));return s}function H(t,e,n){var r,i=!0,o=ce(t),s="border-box"===gt.css(t,"boxSizing",!1,o);if(t.getClientRects().length&&(r=t.getBoundingClientRect()[e]),r<=0||null==r){if(r=I(t,e,o),(r<0||null==r)&&(r=t.style[e]),ue.test(r))return r;i=s&&(dt.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+F(t,e,n||(s?"border":"content"),i,o)+"px"}function W(t,e,n,r,i){return new W.prototype.init(t,e,n,r,i)}function q(){ge&&(n.requestAnimationFrame(q),gt.fx.tick())}function V(){return n.setTimeout(function(){ve=void 0}),ve=gt.now()}function M(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)n=Mt[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function B(t,e,n){for(var r,i=(Q.tweeners[e]||[]).concat(Q.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,e,t))return r}function U(t,e,n){var r,i,o,s,a,u,c,l,f="width"in e||"height"in e,h=this,p={},d=t.style,v=t.nodeType&&Bt(t),g=Pt.get(t,"fxshow");n.queue||(s=gt._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,gt.queue(t,"fx").length||s.empty.fire()})}));for(r in e)if(i=e[r],me.test(i)){if(delete e[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;v=!0}p[r]=g&&g[r]||gt.style(t,r)}if(u=!gt.isEmptyObject(e),u||!gt.isEmptyObject(p)){f&&1===t.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],c=g&&g.display,null==c&&(c=Pt.get(t,"display")),l=gt.css(t,"display"),"none"===l&&(c?l=c:(b([t],!0),c=t.style.display||c,l=gt.css(t,"display"),b([t]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===gt.css(t,"float")&&(u||(h.done(function(){d.display=c}),null==c&&(l=d.display,c="none"===l?"":l)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",h.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),u=!1;for(r in p)u||(g?"hidden"in g&&(v=g.hidden):g=Pt.access(t,"fxshow",{display:c}),o&&(g.hidden=!v),v&&b([t],!0),h.done(function(){v||b([t]),Pt.remove(t,"fxshow");for(r in p)gt.style(t,r,p[r])})),u=B(v?g[r]:0,r,h),r in g||(g[r]=u.start,v&&(u.end=u.start,u.start=0))}}function z(t,e){var n,r,i,o,s;for(n in t)if(r=gt.camelCase(n),i=e[r],o=t[n],gt.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),s=gt.cssHooks[r],s&&"expand"in s){o=s.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function Q(t,e,n){var r,i,o=0,s=Q.prefilters.length,a=gt.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=ve||V(),n=Math.max(0,c.startTime+c.duration-e),r=n/c.duration||0,o=1-r,s=0,u=c.tweens.length;s<u;s++)c.tweens[s].run(o);return a.notifyWith(t,[c,o,n]),o<1&&u?n:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:gt.extend({},e),opts:gt.extend(!0,{specialEasing:{},easing:gt.easing._default},n),originalProperties:e,originalOptions:n,startTime:ve||V(),duration:n.duration,tweens:[],createTween:function(e,n){var r=gt.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),l=c.props;for(z(l,c.opts.specialEasing);o<s;o++)if(r=Q.prefilters[o].call(c,t,l,c.opts))return gt.isFunction(r.stop)&&(gt._queueHooks(c.elem,c.opts.queue).stop=gt.proxy(r.stop,r)),r;return gt.map(l,B,c),gt.isFunction(c.opts.start)&&c.opts.start.call(t,c),gt.fx.timer(gt.extend(u,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function X(t){return t.getAttribute&&t.getAttribute("class")||""}function J(t,e,n,r){var i;if(gt.isArray(e))gt.each(e,function(e,i){n||Ae.test(t)?r(t,i):J(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==gt.type(e))r(t,e);else for(i in e)J(t+"["+i+"]",e[i],n,r)}function Y(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Dt)||[];if(gt.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function G(t,e,n,r){function i(a){var u;return o[a]=!0,gt.each(t[a]||[],function(t,a){var c=a(e,n,r);return"string"!=typeof c||s||o[c]?s?!(u=c):void 0:(e.dataTypes.unshift(c),i(c),!1)}),u}var o={},s=t===Ve;return i(e.dataTypes[0])||!o["*"]&&i("*")}function Z(t,e){var n,r,i=gt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&gt.extend(!0,t,r),t}function K(t,e,n){for(var r,i,o,s,a=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}function tt(t,e,n,r){var i,o,s,a,u,c={},l=t.dataTypes.slice();if(l[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=c[u+" "+o]||c["* "+o],!s)for(i in c)if(a=i.split(" "),a[1]===o&&(s=c[u+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[i]:c[i]!==!0&&(o=a[0],l.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(f){return{state:"parsererror",error:s?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function et(t){return gt.isWindow(t)?t:9===t.nodeType&&t.defaultView}var nt=[],rt=n.document,it=Object.getPrototypeOf,ot=nt.slice,st=nt.concat,at=nt.push,ut=nt.indexOf,ct={},lt=ct.toString,ft=ct.hasOwnProperty,ht=ft.toString,pt=ht.call(Object),dt={},vt="3.1.0",gt=function(t,e){return new gt.fn.init(t,e)},mt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,yt=/^-ms-/,bt=/-([a-z])/g,_t=function(t,e){return e.toUpperCase()};gt.fn=gt.prototype={jquery:vt,constructor:gt,length:0,toArray:function(){return ot.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:ot.call(this)},pushStack:function(t){var e=gt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return gt.each(this,t)},map:function(t){return this.pushStack(gt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(ot.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:at,sort:nt.sort,splice:nt.splice},gt.extend=gt.fn.extend=function(){var t,e,n,r,i,o,s=arguments,a=arguments[0]||{},u=1,c=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[u]||{},u++),"object"==typeof a||gt.isFunction(a)||(a={}),u===c&&(a=this,u--);u<c;u++)if(null!=(t=s[u]))for(e in t)n=a[e],r=t[e],a!==r&&(l&&r&&(gt.isPlainObject(r)||(i=gt.isArray(r)))?(i?(i=!1,o=n&&gt.isArray(n)?n:[]):o=n&&gt.isPlainObject(n)?n:{},a[e]=gt.extend(l,o,r)):void 0!==r&&(a[e]=r));return a},gt.extend({expando:"jQuery"+(vt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===gt.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=gt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==lt.call(t))&&(!(e=it(t))||(n=ft.call(e,"constructor")&&e.constructor,"function"==typeof n&&ht.call(n)===pt))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?ct[lt.call(t)]||"object":typeof t},globalEval:function(t){s(t)},camelCase:function(t){return t.replace(yt,"ms-").replace(bt,_t)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,r=0;if(a(t))for(n=t.length;r<n&&e.call(t[r],r,t[r])!==!1;r++);else for(r in t)if(e.call(t[r],r,t[r])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(mt,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(a(Object(t))?gt.merge(n,"string"==typeof t?[t]:t):at.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:ut.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r,i=[],o=0,s=t.length,a=!n;o<s;o++)r=!e(t[o],o),r!==a&&i.push(t[o]);return i},map:function(t,e,n){var r,i,o=0,s=[];if(a(t))for(r=t.length;o<r;o++)i=e(t[o],o,n),null!=i&&s.push(i);else for(o in t)i=e(t[o],o,n),null!=i&&s.push(i);return st.apply([],s)},guid:1,proxy:function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),gt.isFunction(t))return r=ot.call(arguments,2),i=function(){return t.apply(e||this,r.concat(ot.call(arguments)))},i.guid=t.guid=t.guid||gt.guid++,i},now:Date.now,support:dt}),"function"==typeof Symbol&&(gt.fn[Symbol.iterator]=nt[Symbol.iterator]),gt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){ct["[object "+e+"]"]=e.toLowerCase()});var wt=function(t){function e(t,e,n,r){var i,o,s,a,u,c,l,h=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!r&&((e?e.ownerDocument||e:q)!==S&&D(e),e=e||S,R)){if(11!==d&&(u=mt.exec(t)))if(i=u[1]){if(9===d){if(!(s=e.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(h&&(s=h.getElementById(i))&&H(e,s)&&s.id===i)return n.push(s),n}else{if(u[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&x.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(i)),n}if(x.qsa&&!z[t+" "]&&(!L||!L.test(t))){if(1!==d)h=e,l=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(wt,xt):e.setAttribute("id",a=W),c=$(t),o=c.length;o--;)c[o]="#"+a+" "+p(c[o]);l=c.join(","),h=yt.test(t)&&f(e.parentNode)||e}if(l)try{return Z.apply(n,h.querySelectorAll(l)),n}catch(v){}finally{a===W&&e.removeAttribute("id")}}}return N(t.replace(at,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>C.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[W]=!0,t}function i(t){var e=S.createElement("fieldset");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)C.attrHandle[n[r]]=e}function s(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return function(e){return"label"in e&&e.disabled===t||"form"in e&&e.disabled===t||"form"in e&&e.disabled===!1&&(e.isDisabled===t||e.isDisabled!==!t&&("label"in e||!Tt(e))!==t)}}function l(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function f(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function p(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function d(t,e,n){var r=e.dir,i=e.next,o=i||r,s=n&&"parentNode"===o,a=M++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||s)return t(e,n,i)}:function(e,n,u){var c,l,f,h=[V,a];if(u){for(;e=e[r];)if((1===e.nodeType||s)&&t(e,n,u))return!0}else for(;e=e[r];)if(1===e.nodeType||s)if(f=e[W]||(e[W]={}),l=f[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((c=l[o])&&c[0]===V&&c[1]===a)return h[2]=c[2];if(l[o]=h,h[2]=t(e,n,u))return!0}}}function v(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function g(t,n,r){for(var i=0,o=n.length;i<o;i++)e(t,n[i],r);return r}function m(t,e,n,r,i){for(var o,s=[],a=0,u=t.length,c=null!=e;a<u;a++)(o=t[a])&&(n&&!n(o,r,i)||(s.push(o),c&&e.push(a)));return s}function y(t,e,n,i,o,s){return i&&!i[W]&&(i=y(i)),o&&!o[W]&&(o=y(o,s)),r(function(r,s,a,u){var c,l,f,h=[],p=[],d=s.length,v=r||g(e||"*",a.nodeType?[a]:a,[]),y=!t||!r&&e?v:m(v,h,t,a,u),b=n?o||(r?t:d||i)?[]:s:y;if(n&&n(y,b,a,u),i)for(c=m(b,p),i(c,[],a,u),l=c.length;l--;)(f=c[l])&&(b[p[l]]=!(y[p[l]]=f));if(r){if(o||t){if(o){for(c=[],l=b.length;l--;)(f=b[l])&&c.push(y[l]=f);o(null,b=[],c,u)}for(l=b.length;l--;)(f=b[l])&&(c=o?tt(r,f):h[l])>-1&&(r[c]=!(s[c]=f))}}else b=m(b===s?b.splice(d,b.length):b),o?o(null,s,b,u):Z.apply(s,b)})}function b(t){for(var e,n,r,i=t.length,o=C.relative[t[0].type],s=o||C.relative[" "],a=o?1:0,u=d(function(t){return t===e},s,!0),c=d(function(t){return tt(e,t)>-1},s,!0),l=[function(t,n,r){var i=!o&&(r||n!==O)||((e=n).nodeType?u(t,n,r):c(t,n,r));return e=null,i}];a<i;a++)if(n=C.relative[t[a].type])l=[d(v(l),n)];else{if(n=C.filter[t[a].type].apply(null,t[a].matches),n[W]){for(r=++a;r<i&&!C.relative[t[r].type];r++);return y(a>1&&v(l),a>1&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(at,"$1"),n,a<r&&b(t.slice(a,r)),r<i&&b(t=t.slice(r)),r<i&&p(t))}l.push(n)}return v(l)}function _(t,n){var i=n.length>0,o=t.length>0,s=function(r,s,a,u,c){var l,f,h,p=0,d="0",v=r&&[],g=[],y=O,b=r||o&&C.find.TAG("*",c),_=V+=null==y?1:Math.random()||.1,w=b.length;for(c&&(O=s===S||s||c);d!==w&&null!=(l=b[d]);d++){if(o&&l){for(f=0,s||l.ownerDocument===S||(D(l),a=!R);h=t[f++];)if(h(l,s||S,a)){u.push(l);break}c&&(V=_)}i&&((l=!h&&l)&&p--,r&&v.push(l))}if(p+=d,i&&d!==p){for(f=0;h=n[f++];)h(v,g,s,a);if(r){if(p>0)for(;d--;)v[d]||g[d]||(g[d]=Y.call(u));g=m(g)}Z.apply(u,g),c&&!r&&g.length>0&&p+n.length>1&&e.uniqueSort(u)}return c&&(V=_,O=y),v};return i?r(s):s}var w,x,C,T,E,$,k,N,O,A,j,D,S,I,R,L,P,F,H,W="sizzle"+1*new Date,q=t.document,V=0,M=0,B=n(),U=n(),z=n(),Q=function(t,e){return t===e&&(j=!0),0},X={}.hasOwnProperty,J=[],Y=J.pop,G=J.push,Z=J.push,K=J.slice,tt=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",it="\\["+nt+"*("+rt+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",ot=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",st=new RegExp(nt+"+","g"),at=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ut=new RegExp("^"+nt+"*,"+nt+"*"),ct=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),lt=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ft=new RegExp(ot),ht=new RegExp("^"+rt+"$"),pt={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),_t=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},wt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,xt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Ct=function(){D()},Tt=d(function(t){return t.disabled===!0},{dir:"parentNode",next:"legend"});try{Z.apply(J=K.call(q.childNodes),q.childNodes),J[q.childNodes.length].nodeType}catch(Et){Z={apply:J.length?function(t,e){G.apply(t,K.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}x=e.support={},E=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},D=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:q;return r!==S&&9===r.nodeType&&r.documentElement?(S=r,I=S.documentElement,R=!E(S),q!==S&&(n=S.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ct,!1):n.attachEvent&&n.attachEvent("onunload",Ct)),x.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=i(function(t){return t.appendChild(S.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=gt.test(S.getElementsByClassName),x.getById=i(function(t){return I.appendChild(t).id=W,!S.getElementsByName||!S.getElementsByName(W).length}),x.getById?(C.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&R){var n=e.getElementById(t);return n?[n]:[]}},C.filter.ID=function(t){var e=t.replace(bt,_t);return function(t){return t.getAttribute("id")===e}}):(delete C.find.ID,C.filter.ID=function(t){var e=t.replace(bt,_t);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),C.find.TAG=x.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},C.find.CLASS=x.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&R)return e.getElementsByClassName(t)},P=[],L=[],(x.qsa=gt.test(S.querySelectorAll))&&(i(function(t){I.appendChild(t).innerHTML="<a id='"+W+"'></a><select id='"+W+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||L.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+W+"-]").length||L.push("~="),t.querySelectorAll(":checked").length||L.push(":checked"),t.querySelectorAll("a#"+W+"+*").length||L.push(".#.+[+~]")}),i(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=S.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&L.push("name"+nt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),I.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),L.push(",.*:")})),(x.matchesSelector=gt.test(F=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&i(function(t){x.disconnectedMatch=F.call(t,"*"),F.call(t,"[s!='']:x"),P.push("!=",ot)}),L=L.length&&new RegExp(L.join("|")),P=P.length&&new RegExp(P.join("|")),e=gt.test(I.compareDocumentPosition),H=e||gt.test(I.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)));
0 ignored issues
show
Bug introduced by
The variable v is changed as part of the for-each loop for example by g.hidden on line 2. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Unused Code introduced by
The assignment to e seems to be never used. If you intend to free memory here, this is not necessary since the variable leaves the scope anyway.
Loading history...
introduced by
The variable r is changed by the for-each loop on line 2. Only the value of the last iteration will be visible in this function if it is called outside of the loop.
Loading history...
Bug introduced by
The variable a seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable s seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable Symbol seems to be never declared. If this is a global, consider adding a /** global: Symbol */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable r does not seem to be initialized in case t.getClientRects().lengt....e, r <= 0 || null == r on line 2 is false. Are you sure this can never be the case?
Loading history...
Bug introduced by
The variable S seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable r seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable c seems to not be initialized for all possible execution paths.
Loading history...
Complexity Best Practice introduced by
There is no return statement if "undefined" != typeof e.getElementById && R is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Complexity Best Practice introduced by
There is no return statement if "string" == typeof e &&...t = n, gt.isFunction(t) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
introduced by
The for loop does not have a body. Maybe you have misplaced a semicolon. If you do wish to have a loop without a body, use an empty body {}.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like n should be capitalized.
Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
Coding Style Comprehensibility Best Practice introduced by
Empty catch clauses should be used with caution; consider adding a comment why this is needed.
Loading history...
Complexity Best Practice introduced by
There is no return statement if o is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if "undefined" != typeof e....ementsByClassName && R is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Best Practice introduced by
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
Coding Style introduced by
Consider using undefined instead of void(0). It is equivalent and more straightforward to read.
Loading history...
Bug introduced by
The variable i seems to not be initialized for all possible execution paths.
Loading history...
Unused Code introduced by
The variable e seems to be never used. Consider removing it.
Loading history...
Unused Code introduced by
The parameter n is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
3
}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},Q=e?function(t,e){if(t===e)return j=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!x.sortDetached&&e.compareDocumentPosition(t)===n?t===S||t.ownerDocument===q&&H(q,t)?-1:e===S||e.ownerDocument===q&&H(q,e)?1:A?tt(A,t)-tt(A,e):0:4&n?-1:1)}:function(t,e){if(t===e)return j=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!i||!o)return t===S?-1:e===S?1:i?-1:o?1:A?tt(A,t)-tt(A,e):0;if(i===o)return s(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?s(a[r],u[r]):a[r]===q?-1:u[r]===q?1:0},S):S},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==S&&D(t),n=n.replace(lt,"='$1']"),x.matchesSelector&&R&&!z[n+" "]&&(!P||!P.test(n))&&(!L||!L.test(n)))try{var r=F.call(t,n);if(r||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(i){}return e(n,S,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==S&&D(t),H(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==S&&D(t);var n=C.attrHandle[e.toLowerCase()],r=n&&X.call(C.attrHandle,e.toLowerCase())?n(t,e,!R):void 0;return void 0!==r?r:x.attributes||!R?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.escape=function(t){return(t+"").replace(wt,xt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(j=!x.detectDuplicates,A=!x.sortStable&&t.slice(0),t.sort(Q),j){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return A=null,t},T=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=T(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=T(e);return n},C=e.selectors={cacheLength:50,createPseudo:r,match:pt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,_t),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,_t),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return pt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ft.test(n)&&(e=$(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,_t).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(st," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var c,l,f,h,p,d,v=o!==s?"nextSibling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!u&&!a,b=!1;if(g){if(o){for(;v;){for(h=e;h=h[v];)if(a?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;d=v="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?g.firstChild:g.lastChild],s&&y){for(h=g,f=h[W]||(h[W]={}),l=f[h.uniqueID]||(f[h.uniqueID]={}),c=l[t]||[],p=c[0]===V&&c[1],b=p&&c[2],h=p&&g.childNodes[p];h=++p&&h&&h[v]||(b=p=0)||d.pop();)if(1===h.nodeType&&++b&&h===e){l[t]=[V,p,b];break}}else if(y&&(h=e,f=h[W]||(h[W]={}),l=f[h.uniqueID]||(f[h.uniqueID]={}),c=l[t]||[],p=c[0]===V&&c[1],b=p),b===!1)for(;(h=++p&&h&&h[v]||(b=p=0)||d.pop())&&((a?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++b||(y&&(f=h[W]||(h[W]={}),l=f[h.uniqueID]||(f[h.uniqueID]={}),l[t]=[V,b]),h!==e)););return b-=i,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(t,n){var i,o=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[W]?o(n):o.length>1?(i=[t,t,"",n],C.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),s=i.length;s--;)r=tt(t,i[s]),t[r]=!(e[r]=i[s])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=k(t.replace(at,"$1"));return i[W]?r(function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(bt,_t),function(e){return(e.textContent||e.innerText||T(e)).indexOf(t)>-1}}),lang:r(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,_t).toLowerCase(),function(e){var n;do if(n=R?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===I},focus:function(t){return t===S.activeElement&&(!S.hasFocus||S.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return vt.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[n<0?n+e:n]}),even:l(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:l(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:l(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:l(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}},C.pseudos.nth=C.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[w]=a(w);for(w in{submit:!0,reset:!0})C.pseudos[w]=u(w);return h.prototype=C.filters=C.pseudos,C.setFilters=new h,$=e.tokenize=function(t,n){var r,i,o,s,a,u,c,l=U[t+" "];if(l)return n?0:l.slice(0);for(a=t,u=[],c=C.preFilter;a;){r&&!(i=ut.exec(a))||(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),r=!1,(i=ct.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(at," ")}),a=a.slice(r.length));for(s in C.filter)!(i=pt[s].exec(a))||c[s]&&!(i=c[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?e.error(t):U(t,u).slice(0)},k=e.compile=function(t,e){var n,r=[],i=[],o=z[t+" "];if(!o){for(e||(e=$(t)),n=e.length;n--;)o=b(e[n]),o[W]?r.push(o):i.push(o);o=z(t,_(i,r)),o.selector=t}return o},N=e.select=function(t,e,n,r){var i,o,s,a,u,c="function"==typeof t&&t,l=!r&&$(t=c.selector||t);if(n=n||[],1===l.length){if(o=l[0]=l[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&x.getById&&9===e.nodeType&&R&&C.relative[o[1].type]){if(e=(C.find.ID(s.matches[0].replace(bt,_t),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=pt.needsContext.test(t)?0:o.length;i--&&(s=o[i],!C.relative[a=s.type]);)if((u=C.find[a])&&(r=u(s.matches[0].replace(bt,_t),yt.test(o[0].type)&&f(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&p(o),!t)return Z.apply(n,r),n;break}}return(c||k(t,l))(r,e,!R,n,!e||yt.test(t)&&f(e.parentNode)||e),n},x.sortStable=W.split("").sort(Q).join("")===W,x.detectDuplicates=!!j,D(),x.sortDetached=i(function(t){return 1&t.compareDocumentPosition(S.createElement("fieldset"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),x.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(et,function(t,e,n){var r;if(!n)return t[e]===!0?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(n);gt.find=wt,gt.expr=wt.selectors,gt.expr[":"]=gt.expr.pseudos,gt.uniqueSort=gt.unique=wt.uniqueSort,gt.text=wt.getText,gt.isXMLDoc=wt.isXML,gt.contains=wt.contains,gt.escapeSelector=wt.escape;var xt=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&gt(t).is(n))break;r.push(t)}return r},Ct=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Tt=gt.expr.match.needsContext,Et=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,$t=/^.[^:#\[\.,]*$/;gt.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?gt.find.matchesSelector(r,t)?[r]:[]:gt.find.matches(t,gt.grep(e,function(t){return 1===t.nodeType}))},gt.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(gt(t).filter(function(){var t=this;for(e=0;e<r;e++)if(gt.contains(i[e],t))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)gt.find(t,i[e],n);return r>1?gt.uniqueSort(n):n},filter:function(t){return this.pushStack(u(this,t||[],!1))},not:function(t){return this.pushStack(u(this,t||[],!0))},is:function(t){return!!u(this,"string"==typeof t&&Tt.test(t)?gt(t):t||[],!1).length}});var kt,Nt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ot=gt.fn.init=function(t,e,n){var r,i,o=this;if(!t)return this;if(n=n||kt,"string"==typeof t){if(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Nt.exec(t),!r||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof gt?e[0]:e,gt.merge(this,gt.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:rt,!0)),Et.test(r[1])&&gt.isPlainObject(e))for(r in e)gt.isFunction(o[r])?o[r](e[r]):o.attr(r,e[r]);return this}return i=rt.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):gt.isFunction(t)?void 0!==n.ready?n.ready(t):t(gt):gt.makeArray(t,this)};Ot.prototype=gt.fn,kt=gt(rt);var At=/^(?:parents|prev(?:Until|All))/,jt={children:!0,contents:!0,next:!0,prev:!0};gt.fn.extend({has:function(t){var e=gt(t,this),n=e.length;return this.filter(function(){for(var t=this,r=0;r<n;r++)if(gt.contains(t,e[r]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],s="string"!=typeof t&&gt(t);if(!Tt.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&gt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?gt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?ut.call(gt(t),this[0]):ut.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(gt.uniqueSort(gt.merge(this.get(),gt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),gt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return xt(t,"parentNode")},parentsUntil:function(t,e,n){return xt(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return xt(t,"nextSibling")},prevAll:function(t){return xt(t,"previousSibling")},nextUntil:function(t,e,n){return xt(t,"nextSibling",n)},prevUntil:function(t,e,n){return xt(t,"previousSibling",n)},siblings:function(t){return Ct((t.parentNode||{}).firstChild,t)},children:function(t){return Ct(t.firstChild)},contents:function(t){return t.contentDocument||gt.merge([],t.childNodes)}},function(t,e){gt.fn[t]=function(n,r){var i=gt.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=gt.filter(r,i)),this.length>1&&(jt[t]||gt.uniqueSort(i),At.test(t)&&i.reverse()),this.pushStack(i)}});var Dt=/\S+/g;gt.Callbacks=function(t){t="string"==typeof t?l(t):gt.extend({},t);var e,n,r,i,o=[],s=[],a=-1,u=function(){for(i=t.once,r=e=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)o[a].apply(n[0],n[1])===!1&&t.stopOnFalse&&(a=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!e&&(a=o.length-1,s.push(n)),function r(e){gt.each(e,function(e,n){gt.isFunction(n)?t.unique&&c.has(n)||o.push(n):n&&n.length&&"string"!==gt.type(n)&&r(n)})}(arguments),n&&!e&&u()),this},remove:function(){return gt.each(arguments,function(t,e){for(var n;(n=gt.inArray(e,o,n))>-1;)o.splice(n,1),n<=a&&a--}),this},has:function(t){return t?gt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],s.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},gt.extend({Deferred:function(t){var e=[["notify","progress",gt.Callbacks("memory"),gt.Callbacks("memory"),2],["resolve","done",gt.Callbacks("once memory"),gt.Callbacks("once memory"),0,"resolved"],["reject","fail",gt.Callbacks("once memory"),gt.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(t){return i.then(null,t)},pipe:function(){var t=arguments;return gt.Deferred(function(n){gt.each(e,function(e,r){var i=gt.isFunction(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&gt.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){function o(t,e,r,i){return function(){var a=this,u=arguments,c=function(){var n,c;if(!(t<s)){if(n=r.apply(a,u),n===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,gt.isFunction(c)?i?c.call(n,o(s,e,f,i),o(s,e,h,i)):(s++,c.call(n,o(s,e,f,i),o(s,e,h,i),o(s,e,f,e.notifyWith))):(r!==f&&(a=void 0,u=[n]),(i||e.resolveWith)(a,u))}},l=i?c:function(){try{c()}catch(n){gt.Deferred.exceptionHook&&gt.Deferred.exceptionHook(n,l.stackTrace),t+1>=s&&(r!==h&&(a=void 0,u=[n]),e.rejectWith(a,u))}};t?l():(gt.Deferred.getStackHook&&(l.stackTrace=gt.Deferred.getStackHook()),n.setTimeout(l))}}var s=0;return gt.Deferred(function(n){e[0][3].add(o(0,n,gt.isFunction(i)?i:f,n.notifyWith)),e[1][3].add(o(0,n,gt.isFunction(t)?t:f)),e[2][3].add(o(0,n,gt.isFunction(r)?r:h))}).promise()},promise:function(t){return null!=t?gt.extend(t,i):i}},o={};return gt.each(e,function(t,n){var s=n[2],a=n[5];i[n[1]]=s.add,a&&s.add(function(){r=a},e[3-t][2].disable,e[0][2].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=ot.call(arguments),o=gt.Deferred(),s=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?ot.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(p(t,o.done(s(n)).resolve,o.reject),"pending"===o.state()||gt.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)p(i[n],s(n),o.reject);return o.promise()}});var St=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;gt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&St.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},gt.readyException=function(t){n.setTimeout(function(){throw t})};var It=gt.Deferred();gt.fn.ready=function(t){return It.then(t)["catch"](function(t){gt.readyException(t)}),this},gt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?gt.readyWait++:gt.ready(!0)},ready:function(t){(t===!0?--gt.readyWait:gt.isReady)||(gt.isReady=!0,t!==!0&&--gt.readyWait>0||It.resolveWith(rt,[gt]))}}),gt.ready.then=It.then,"complete"===rt.readyState||"loading"!==rt.readyState&&!rt.documentElement.doScroll?n.setTimeout(gt.ready):(rt.addEventListener("DOMContentLoaded",d),n.addEventListener("load",d));var Rt=function(t,e,n,r,i,o,s){var a=0,u=t.length,c=null==n;if("object"===gt.type(n)){i=!0;for(a in n)Rt(t,e,a,n[a],!0,o,s)}else if(void 0!==r&&(i=!0,gt.isFunction(r)||(s=!0),c&&(s?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(gt(t),n)})),e))for(;a<u;a++)e(t[a],n,s?r:r.call(t[a],a,e(t[a],n)));return i?t:c?e.call(t):u?e(t[0],n):o},Lt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};v.uid=1,v.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Lt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[gt.camelCase(e)]=n;else for(r in e)i[gt.camelCase(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][gt.camelCase(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){gt.isArray(e)?e=e.map(gt.camelCase):(e=gt.camelCase(e),e=e in r?[e]:e.match(Dt)||[]),n=e.length;for(;n--;)delete r[e[n]]}(void 0===e||gt.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!gt.isEmptyObject(e)}};var Pt=new v,Ft=new v,Ht=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Wt=/[A-Z]/g;gt.extend({hasData:function(t){return Ft.hasData(t)||Pt.hasData(t)},data:function(t,e,n){return Ft.access(t,e,n)},removeData:function(t,e){Ft.remove(t,e)},_data:function(t,e,n){return Pt.access(t,e,n)},_removeData:function(t,e){Pt.remove(t,e)}}),gt.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=Ft.get(o),1===o.nodeType&&!Pt.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=gt.camelCase(r.slice(5)),g(o,r,i[r])));Pt.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Ft.set(this,t)}):Rt(this,function(e){var n;if(o&&void 0===e){if(n=Ft.get(o,t),void 0!==n)return n;if(n=g(o,t),void 0!==n)return n}else this.each(function(){Ft.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Ft.remove(this,t)})}}),gt.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Pt.get(t,e),n&&(!r||gt.isArray(n)?r=Pt.access(t,e,gt.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=gt.queue(t,e),r=n.length,i=n.shift(),o=gt._queueHooks(t,e),s=function(){gt.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Pt.get(t,n)||Pt.access(t,n,{empty:gt.Callbacks("once memory").add(function(){Pt.remove(t,[e+"queue",n])})})}}),gt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?gt.queue(this[0],t):void 0===e?this:this.each(function(){var n=gt.queue(this,t,e);gt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&gt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){gt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=gt.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=Pt.get(o[s],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var qt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Vt=new RegExp("^(?:([+-])=|)("+qt+")([a-z%]*)$","i"),Mt=["Top","Right","Bottom","Left"],Bt=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&gt.contains(t.ownerDocument,t)&&"none"===gt.css(t,"display")},Ut=function(t,e,n,r){var i,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=s[o];return i},zt={};gt.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Bt(this)?gt(this).show():gt(this).hide()})}});var Qt=/^(?:checkbox|radio)$/i,Xt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Jt=/^$|\/(?:java|ecma)script/i,Yt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Yt.optgroup=Yt.option,Yt.tbody=Yt.tfoot=Yt.colgroup=Yt.caption=Yt.thead,Yt.th=Yt.td;var Gt=/<|&#?\w+;/;!function(){var t=rt.createDocumentFragment(),e=t.appendChild(rt.createElement("div")),n=rt.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),dt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",dt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Zt=rt.documentElement,Kt=/^key/,te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ee=/^([^.]*)(?:\.(.+)|)/;gt.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,c,l,f,h,p,d,v,g=Pt.get(t);if(g)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&gt.find.matchesSelector(Zt,i),n.guid||(n.guid=gt.guid++),(u=g.events)||(u=g.events={}),(s=g.handle)||(s=g.handle=function(e){return"undefined"!=typeof gt&&gt.event.triggered!==e.type?gt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Dt)||[""],c=e.length;c--;)a=ee.exec(e[c])||[],p=v=a[1],d=(a[2]||"").split(".").sort(),p&&(f=gt.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=gt.event.special[p]||{},l=gt.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&gt.expr.match.needsContext.test(i),namespace:d.join(".")},o),(h=u[p])||(h=u[p]=[],h.delegateCount=0,f.setup&&f.setup.call(t,r,d,s)!==!1||t.addEventListener&&t.addEventListener(p,s)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,l):h.push(l),gt.event.global[p]=!0)},remove:function(t,e,n,r,i){var o,s,a,u,c,l,f,h,p,d,v,g=Pt.hasData(t)&&Pt.get(t);if(g&&(u=g.events)){for(e=(e||"").match(Dt)||[""],c=e.length;c--;)if(a=ee.exec(e[c])||[],p=v=a[1],d=(a[2]||"").split(".").sort(),p){for(f=gt.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,h=u[p]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)l=h[o],!i&&v!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount--,f.remove&&f.remove.call(t,l));s&&!h.length&&(f.teardown&&f.teardown.call(t,d,g.handle)!==!1||gt.removeEvent(t,p,g.handle),delete u[p])}else for(p in u)gt.event.remove(t,p+e[c],n,r,!0);gt.isEmptyObject(u)&&Pt.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,s,a=arguments,u=gt.event.fix(t),c=new Array(arguments.length),l=(Pt.get(this,"events")||{})[u.type]||[],f=gt.event.special[u.type]||{};for(c[0]=u,e=1;e<arguments.length;e++)c[e]=a[e];if(u.delegateTarget=this,!f.preDispatch||f.preDispatch.call(this,u)!==!1){for(s=gt.event.handlers.call(this,u,l),e=0;(i=s[e++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,r=((gt.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,c),void 0!==r&&(u.result=r)===!1&&(u.preventDefault(),u.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,u),u.result}},handlers:function(t,e){var n,r,i,o,s=this,a=[],u=e.delegateCount,c=t.target;if(u&&c.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&(c.disabled!==!0||"click"!==t.type)){for(r=[],n=0;n<u;n++)o=e[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?gt(i,s).index(c)>-1:gt.find(i,s,null,[c]).length),r[i]&&r.push(o);r.length&&a.push({elem:c,handlers:r})}return u<e.length&&a.push({elem:this,handlers:e.slice(u)}),a},addProp:function(t,e){Object.defineProperty(gt.Event.prototype,t,{enumerable:!0,configurable:!0,get:gt.isFunction(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[gt.expando]?t:new gt.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==E()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===E()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&gt.nodeName(this,"input"))return this.click(),!1},_default:function(t){return gt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},gt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},gt.Event=function(t,e){return this instanceof gt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?C:T,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&gt.extend(this,e),this.timeStamp=t&&t.timeStamp||gt.now(),void(this[gt.expando]=!0)):new gt.Event(t,e)},gt.Event.prototype={constructor:gt.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=C,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=C,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=C,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},gt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Kt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&te.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},gt.event.addProp),gt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){gt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||gt.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),gt.fn.extend({on:function(t,e,n,r){return $(this,t,e,n,r)},one:function(t,e,n,r){return $(this,t,e,n,r,1)},off:function(t,e,n){var r,i,o=this;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,gt(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)o.off(i,e,t[i]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=T),this.each(function(){gt.event.remove(this,t,n,e)})}});var ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,re=/<script|<style|<link/i,ie=/checked\s*(?:[^=]|=\s*.checked.)/i,oe=/^true\/(.*)/,se=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;gt.extend({htmlPrefilter:function(t){return t.replace(ne,"<$1></$2>")},clone:function(t,e,n){var r,i,o,s,a=t.cloneNode(!0),u=gt.contains(t.ownerDocument,t);if(!(dt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||gt.isXMLDoc(t)))for(s=_(a),o=_(t),r=0,i=o.length;r<i;r++)j(o[r],s[r]);if(e)if(n)for(o=o||_(t),s=s||_(a),r=0,i=o.length;r<i;r++)A(o[r],s[r]);else A(t,a);return s=_(a,"script"),s.length>0&&w(s,!u&&_(t,"script")),a},cleanData:function(t){for(var e,n,r,i=gt.event.special,o=0;void 0!==(n=t[o]);o++)if(Lt(n)){if(e=n[Pt.expando]){if(e.events)for(r in e.events)i[r]?gt.event.remove(n,r):gt.removeEvent(n,r,e.handle);n[Pt.expando]=void 0}n[Ft.expando]&&(n[Ft.expando]=void 0)}}}),gt.fn.extend({detach:function(t){return S(this,t,!0)},remove:function(t){return S(this,t)},text:function(t){return Rt(this,function(t){return void 0===t?gt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return D(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=k(this,t);e.appendChild(t)}})},prepend:function(){return D(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=k(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return D(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return D(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(gt.cleanData(_(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return gt.clone(this,t,e)})},html:function(t){return Rt(this,function(t){var e=this,n=this[0]||{},r=0,i=this.length;if(void 0===t&&1===n.nodeType)return n.innerHTML;if("string"==typeof t&&!re.test(t)&&!Yt[(Xt.exec(t)||["",""])[1].toLowerCase()]){t=gt.htmlPrefilter(t);try{for(;r<i;r++)n=e[r]||{},1===n.nodeType&&(gt.cleanData(_(n,!1)),n.innerHTML=t);n=0}catch(o){}}n&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return D(this,arguments,function(e){var n=this.parentNode;gt.inArray(this,t)<0&&(gt.cleanData(_(this)),n&&n.replaceChild(e,this))},t)}}),gt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){gt.fn[t]=function(t){for(var n,r=this,i=[],o=gt(t),s=o.length-1,a=0;a<=s;a++)n=a===s?r:r.clone(!0),gt(o[a])[e](n),at.apply(i,n.get());return this.pushStack(i)}});var ae=/^margin/,ue=new RegExp("^("+qt+")(?!px)[a-z%]+$","i"),ce=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)};!function(){function t(){if(a){a.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Zt.appendChild(s);var t=n.getComputedStyle(a);e="1%"!==t.top,o="2px"===t.marginLeft,r="4px"===t.width,a.style.marginRight="50%",i="4px"===t.marginRight,Zt.removeChild(s),a=null}}var e,r,i,o,s=rt.createElement("div"),a=rt.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",dt.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",
0 ignored issues
show
Bug introduced by
The variable R seems to not be initialized for all possible execution paths.
Loading history...
Complexity Best Practice introduced by
There is no return statement if !n && "input" === t.nodeName.toLowerCase() is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if "checkbox" === this.type...nodeName(this, "input") is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if t is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Unused Code introduced by
The loop variable n is initialized by the loop but not used in the test. Consider using another type of loop if this is the intended behavior.
Loading history...
Bug introduced by
The variable a is changed as part of the for loop for example by a-- on line 3. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Bug introduced by
The variable i does not seem to be initialized in case this.length && i = Ft.ge....get(o, "hasDataAttrs") on line 3 is false. Are you sure this can never be the case?
Loading history...
Best Practice introduced by
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
Bug introduced by
The variable a is changed as part of the for loop for example by ++a on line 3. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Bug introduced by
The variable n is changed as part of the for loop for example by !1 on line 3. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Complexity Best Practice introduced by
There is no return statement if this !== E() && this.focus is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like h should be capitalized.
Loading history...
Complexity Best Practice introduced by
There is no return statement if this === E() && this.blur is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
introduced by
You have used a bitwise operator & in a condition. Did you maybe want to use the logical operator &&
Loading history...
Bug introduced by
The variable n seems to not be initialized for all possible execution paths.
Loading history...
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Complexity Best Practice introduced by
There is no return statement if u.delegateTarget = this,...ch.call(this, u) !== !1 is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
Complexity Best Practice introduced by
There is no return statement if !n is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable e is changed as part of the for loop for example by e++ on line 3. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Complexity Best Practice introduced by
There is no return statement if n = g(o, t), void(0) !== n is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if this.originalEvent is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable o seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable p does not seem to be initialized in case y && h = e, f = h.W || h...&& c.1, b = p, b === !1 on line 3 is true. Are you sure this can never be the case?
Loading history...
Complexity Best Practice introduced by
There is no return statement if g is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like v should be capitalized.
Loading history...
Bug introduced by
The variable o does not seem to be initialized in case g on line 3 is true. Are you sure the function extend handles undefined variables?
Loading history...
Bug introduced by
The variable s does not seem to be initialized in case o = l.0 = l.0.slice(0), ... && C.relative.o.1.type on line 3 is true. Are you sure this can never be the case?
Loading history...
Coding Style Comprehensibility Best Practice introduced by
Empty catch clauses should be used with caution; consider adding a comment why this is needed.
Loading history...
Bug introduced by
The variable n seems to not be initialized for all possible execution paths. Are you sure inArray handles undefined variables?
Loading history...
Coding Style introduced by
Consider using undefined instead of void(0). It is equivalent and more straightforward to read.
Loading history...
introduced by
The for loop does not have a body. Maybe you have misplaced a semicolon. If you do wish to have a loop without a body, use an empty body {}.
Loading history...
4
s.appendChild(a),gt.extend(dt,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return t(),r},pixelMarginRight:function(){return t(),i},reliableMarginLeft:function(){return t(),o}}))}();var le=/^(none|table(?!-c[ea]).+)/,fe={position:"absolute",visibility:"hidden",display:"block"},he={letterSpacing:"0",fontWeight:"400"},pe=["Webkit","Moz","ms"],de=rt.createElement("div").style;gt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=I(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=gt.camelCase(e),u=t.style;return e=gt.cssProps[a]||(gt.cssProps[a]=L(a)||a),s=gt.cssHooks[e]||gt.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:u[e]:(o=typeof n,"string"===o&&(i=Vt.exec(n))&&i[1]&&(n=m(t,e,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(gt.cssNumber[a]?"":"px")),dt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(u[e]=n)),void 0)}},css:function(t,e,n,r){var i,o,s,a=gt.camelCase(e);return e=gt.cssProps[a]||(gt.cssProps[a]=L(a)||a),s=gt.cssHooks[e]||gt.cssHooks[a],s&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=I(t,e,r)),"normal"===i&&e in he&&(i=he[e]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),gt.each(["height","width"],function(t,e){gt.cssHooks[e]={get:function(t,n,r){if(n)return!le.test(gt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?H(t,e,r):Ut(t,fe,function(){return H(t,e,r)})},set:function(t,n,r){var i,o=r&&ce(t),s=r&&F(t,e,r,"border-box"===gt.css(t,"boxSizing",!1,o),o);return s&&(i=Vt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=gt.css(t,e)),P(t,n,s)}}}),gt.cssHooks.marginLeft=R(dt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(I(t,"marginLeft"))||t.getBoundingClientRect().left-Ut(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),gt.each({margin:"",padding:"",border:"Width"},function(t,e){gt.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+Mt[r]+e]=o[r]||o[r-2]||o[0];return i}},ae.test(t)||(gt.cssHooks[t+e].set=P)}),gt.fn.extend({css:function(t,e){return Rt(this,function(t,e,n){var r,i,o={},s=0;if(gt.isArray(e)){for(r=ce(t),i=e.length;s<i;s++)o[e[s]]=gt.css(t,e[s],!1,r);return o}return void 0!==n?gt.style(t,e,n):gt.css(t,e)},t,e,arguments.length>1)}}),gt.Tween=W,W.prototype={constructor:W,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||gt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(gt.cssNumber[n]?"":"px")},cur:function(){var t=W.propHooks[this.prop];return t&&t.get?t.get(this):W.propHooks._default.get(this)},run:function(t){var e,n=W.propHooks[this.prop];return this.options.duration?this.pos=e=gt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=gt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){gt.fx.step[t.prop]?gt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[gt.cssProps[t.prop]]&&!gt.cssHooks[t.prop]?t.elem[t.prop]=t.now:gt.style(t.elem,t.prop,t.now+t.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},gt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},gt.fx=W.prototype.init,gt.fx.step={};var ve,ge,me=/^(?:toggle|show|hide)$/,ye=/queueHooks$/;gt.Animation=gt.extend(Q,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return m(n.elem,t,Vt.exec(e),n),n}]},tweener:function(t,e){gt.isFunction(t)?(e=t,t=["*"]):t=t.match(Dt);for(var n,r=0,i=t.length;r<i;r++)n=t[r],Q.tweeners[n]=Q.tweeners[n]||[],Q.tweeners[n].unshift(e)},prefilters:[U],prefilter:function(t,e){e?Q.prefilters.unshift(t):Q.prefilters.push(t)}}),gt.speed=function(t,e,n){var r=t&&"object"==typeof t?gt.extend({},t):{complete:n||!n&&e||gt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!gt.isFunction(e)&&e};return gt.fx.off||rt.hidden?r.duration=0:r.duration="number"==typeof r.duration?r.duration:r.duration in gt.fx.speeds?gt.fx.speeds[r.duration]:gt.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){gt.isFunction(r.old)&&r.old.call(this),r.queue&&gt.dequeue(this,r.queue)},r},gt.fn.extend({fadeTo:function(t,e,n,r){return this.filter(Bt).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=gt.isEmptyObject(t),o=gt.speed(e,n,r),s=function(){var e=Q(this,gt.extend({},t),o);(i||Pt.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=this,i=!0,o=null!=t&&t+"queueHooks",s=gt.timers,a=Pt.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&ye.test(o)&&r(a[o]);for(o=s.length;o--;)s[o].elem!==e||null!=t&&s[o].queue!==t||(s[o].anim.stop(n),i=!1,s.splice(o,1));!i&&n||gt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=this,r=Pt.get(this),i=r[t+"queue"],o=r[t+"queueHooks"],s=gt.timers,a=i?i.length:0;for(r.finish=!0,gt.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=s.length;e--;)s[e].elem===n&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(n);delete r.finish})}}),gt.each(["toggle","show","hide"],function(t,e){var n=gt.fn[e];gt.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(M(e,!0),t,r,i)}}),gt.each({slideDown:M("show"),slideUp:M("hide"),slideToggle:M("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){gt.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),gt.timers=[],gt.fx.tick=function(){var t,e=0,n=gt.timers;for(ve=gt.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||gt.fx.stop(),ve=void 0},gt.fx.timer=function(t){gt.timers.push(t),t()?gt.fx.start():gt.timers.pop()},gt.fx.interval=13,gt.fx.start=function(){ge||(ge=n.requestAnimationFrame?n.requestAnimationFrame(q):n.setInterval(gt.fx.tick,gt.fx.interval))},gt.fx.stop=function(){n.cancelAnimationFrame?n.cancelAnimationFrame(ge):n.clearInterval(ge),ge=null},gt.fx.speeds={slow:600,fast:200,_default:400},gt.fn.delay=function(t,e){return t=gt.fx?gt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=rt.createElement("input"),e=rt.createElement("select"),n=e.appendChild(rt.createElement("option"));t.type="checkbox",dt.checkOn=""!==t.value,dt.optSelected=n.selected,t=rt.createElement("input"),t.value="t",t.type="radio",dt.radioValue="t"===t.value}();var be,_e=gt.expr.attrHandle;gt.fn.extend({attr:function(t,e){return Rt(this,gt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){gt.removeAttr(this,t)})}}),gt.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?gt.prop(t,e,n):(1===o&&gt.isXMLDoc(t)||(i=gt.attrHooks[e.toLowerCase()]||(gt.expr.match.bool.test(e)?be:void 0)),void 0!==n?null===n?void gt.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=gt.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!dt.radioValue&&"radio"===e&&gt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(Dt);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),be={set:function(t,e,n){return e===!1?gt.removeAttr(t,n):t.setAttribute(n,n),n}},gt.each(gt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=_e[e]||gt.find.attr;_e[e]=function(t,e,r){var i,o,s=e.toLowerCase();return r||(o=_e[s],_e[s]=i,i=null!=n(t,e,r)?s:null,_e[s]=o),i}});var we=/^(?:input|select|textarea|button)$/i,xe=/^(?:a|area)$/i;gt.fn.extend({prop:function(t,e){return Rt(this,gt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[gt.propFix[t]||t]})}}),gt.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&gt.isXMLDoc(t)||(e=gt.propFix[e]||e,i=gt.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=gt.find.attr(t,"tabindex");return e?parseInt(e,10):we.test(t.nodeName)||xe.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),dt.optSelected||(gt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),gt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){gt.propFix[this.toLowerCase()]=this});var Ce=/[\t\r\n\f]/g;gt.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,u=0;if(gt.isFunction(t))return this.each(function(e){gt(this).addClass(t.call(this,e,X(this)))});if("string"==typeof t&&t)for(e=t.match(Dt)||[];n=this[u++];)if(i=X(n),r=1===n.nodeType&&(" "+i+" ").replace(Ce," ")){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=gt.trim(r),i!==a&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,u=0;if(gt.isFunction(t))return this.each(function(e){gt(this).removeClass(t.call(this,e,X(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Dt)||[];n=this[u++];)if(i=X(n),r=1===n.nodeType&&(" "+i+" ").replace(Ce," ")){for(s=0;o=e[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a=gt.trim(r),i!==a&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):gt.isFunction(t)?this.each(function(n){gt(this).toggleClass(t.call(this,n,X(this),e),e)}):this.each(function(){var e,r,i,o;if("string"===n)for(r=0,i=gt(this),o=t.match(Dt)||[];e=o[r++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||(e=X(this),e&&Pt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Pt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+X(n)+" ").replace(Ce," ").indexOf(e)>-1)return!0;return!1}});var Te=/\r/g,Ee=/[\x20\t\r\n\f]+/g;gt.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=gt.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,gt(this).val()):t,null==i?i="":"number"==typeof i?i+="":gt.isArray(i)&&(i=gt.map(i,function(t){return null==t?"":t+""})),e=gt.valHooks[this.type]||gt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return e=gt.valHooks[i.type]||gt.valHooks[i.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Te,""):null==n?"":n)}}}),gt.extend({valHooks:{option:{get:function(t){var e=gt.find.attr(t,"value");return null!=e?e:gt.trim(gt.text(t)).replace(Ee," ")}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type,s=o?null:[],a=o?i+1:r.length,u=i<0?a:o?i:0;u<a;u++)if(n=r[u],(n.selected||u===i)&&!n.disabled&&(!n.parentNode.disabled||!gt.nodeName(n.parentNode,"optgroup"))){if(e=gt(n).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,r,i=t.options,o=gt.makeArray(e),s=i.length;s--;)r=i[s],(r.selected=gt.inArray(gt.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),gt.each(["radio","checkbox"],function(){gt.valHooks[this]={set:function(t,e){if(gt.isArray(e))return t.checked=gt.inArray(gt(t).val(),e)>-1}},dt.checkOn||(gt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var $e=/^(?:focusinfocus|focusoutblur)$/;gt.extend(gt.event,{trigger:function(t,e,r,i){var o,s,a,u,c,l,f,h=[r||rt],p=ft.call(t,"type")?t.type:t,d=ft.call(t,"namespace")?t.namespace.split("."):[];if(s=a=r=r||rt,3!==r.nodeType&&8!==r.nodeType&&!$e.test(p+gt.event.triggered)&&(p.indexOf(".")>-1&&(d=p.split("."),p=d.shift(),d.sort()),c=p.indexOf(":")<0&&"on"+p,t=t[gt.expando]?t:new gt.Event(p,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=d.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:gt.makeArray(e,[t]),f=gt.event.special[p]||{},i||!f.trigger||f.trigger.apply(r,e)!==!1)){if(!i&&!f.noBubble&&!gt.isWindow(r)){for(u=f.delegateType||p,$e.test(u+p)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(r.ownerDocument||rt)&&h.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=h[o++])&&!t.isPropagationStopped();)t.type=o>1?u:f.bindType||p,l=(Pt.get(s,"events")||{})[t.type]&&Pt.get(s,"handle"),l&&l.apply(s,e),l=c&&s[c],l&&l.apply&&Lt(s)&&(t.result=l.apply(s,e),t.result===!1&&t.preventDefault());return t.type=p,i||t.isDefaultPrevented()||f._default&&f._default.apply(h.pop(),e)!==!1||!Lt(r)||c&&gt.isFunction(r[p])&&!gt.isWindow(r)&&(a=r[c],a&&(r[c]=null),gt.event.triggered=p,r[p](),gt.event.triggered=void 0,a&&(r[c]=a)),t.result}},simulate:function(t,e,n){var r=gt.extend(new gt.Event,n,{type:t,isSimulated:!0});gt.event.trigger(r,null,e)}}),gt.fn.extend({trigger:function(t,e){return this.each(function(){gt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return gt.event.trigger(t,e,n,!0)}}),gt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){gt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),gt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),dt.focusin="onfocusin"in n,dt.focusin||gt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){gt.event.simulate(e,t.target,gt.event.fix(t))};gt.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=Pt.access(r,e);i||r.addEventListener(t,n,!0),Pt.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Pt.access(r,e)-1;i?Pt.access(r,e,i):(r.removeEventListener(t,n,!0),Pt.remove(r,e))}}});var ke=n.location,Ne=gt.now(),Oe=/\?/;gt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(r){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||gt.error("Invalid XML: "+t),e};var Ae=/\[\]$/,je=/\r?\n/g,De=/^(?:submit|button|image|reset|file)$/i,Se=/^(?:input|select|textarea|keygen)/i;gt.param=function(t,e){var n,r=[],i=function(t,e){var n=gt.isFunction(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(gt.isArray(t)||t.jquery&&!gt.isPlainObject(t))gt.each(t,function(){i(this.name,this.value)});else for(n in t)J(n,t[n],e,i);return r.join("&")},gt.fn.extend({serialize:function(){return gt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=gt.prop(this,"elements");return t?gt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!gt(this).is(":disabled")&&Se.test(this.nodeName)&&!De.test(t)&&(this.checked||!Qt.test(t))}).map(function(t,e){var n=gt(this).val();return null==n?null:gt.isArray(n)?gt.map(n,function(t){return{name:e.name,value:t.replace(je,"\r\n")}}):{name:e.name,value:n.replace(je,"\r\n")}}).get()}});var Ie=/%20/g,Re=/#.*$/,Le=/([?&])_=[^&]*/,Pe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,He=/^(?:GET|HEAD)$/,We=/^\/\//,qe={},Ve={},Me="*/".concat("*"),Be=rt.createElement("a");Be.href=ke.href,gt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ke.href,type:"GET",isLocal:Fe.test(ke.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Me,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":gt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Z(Z(t,gt.ajaxSettings),e):Z(gt.ajaxSettings,t)},ajaxPrefilter:Y(qe),ajaxTransport:Y(Ve),ajax:function(t,e){function r(t,e,r,a){var c,h,p,_,w,x=e;l||(l=!0,u&&n.clearTimeout(u),i=void 0,s=a||"",C.readyState=t>0?4:0,c=t>=200&&t<300||304===t,r&&(_=K(d,C,r)),_=tt(d,_,C,c),c?(d.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(gt.lastModified[o]=w),w=C.getResponseHeader("etag"),w&&(gt.etag[o]=w)),204===t||"HEAD"===d.type?x="nocontent":304===t?x="notmodified":(x=_.state,h=_.data,p=_.error,c=!p)):(p=x,!t&&x||(x="error",t<0&&(t=0))),C.status=t,C.statusText=(e||x)+"",c?m.resolveWith(v,[h,x,C]):m.rejectWith(v,[C,x,p]),C.statusCode(b),b=void 0,f&&g.trigger(c?"ajaxSuccess":"ajaxError",[C,d,c?h:p]),y.fireWith(v,[C,x]),f&&(g.trigger("ajaxComplete",[C,d]),--gt.active||gt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,s,a,u,c,l,f,h,p,d=gt.ajaxSetup({},e),v=d.context||d,g=d.context&&(v.nodeType||v.jquery)?gt(v):gt.event,m=gt.Deferred(),y=gt.Callbacks("once memory"),b=d.statusCode||{},_={},w={},x="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(l){if(!a)for(a={};e=Pe.exec(s);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return l?s:null},setRequestHeader:function(t,e){return null==l&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==l&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)C.always(t[C.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||x;return i&&i.abort(e),r(0,e),this}};if(m.promise(C),d.url=((t||d.url||ke.href)+"").replace(We,ke.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(Dt)||[""],null==d.crossDomain){c=rt.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=Be.protocol+"//"+Be.host!=c.protocol+"//"+c.host}catch(T){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=gt.param(d.data,d.traditional)),G(qe,d,e,C),l)return C;f=gt.event&&d.global,f&&0===gt.active++&&gt.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!He.test(d.type),o=d.url.replace(Re,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Ie,"+")):(p=d.url.slice(o.length),d.data&&(o+=(Oe.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(o=o.replace(Le,""),p=(Oe.test(o)?"&":"?")+"_="+Ne++ +p),d.url=o+p),d.ifModified&&(gt.lastModified[o]&&C.setRequestHeader("If-Modified-Since",gt.lastModified[o]),gt.etag[o]&&C.setRequestHeader("If-None-Match",gt.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Me+"; q=0.01":""):d.accepts["*"]);for(h in d.headers)C.setRequestHeader(h,d.headers[h]);if(d.beforeSend&&(d.beforeSend.call(v,C,d)===!1||l))return C.abort();if(x="abort",y.add(d.complete),C.done(d.success),C.fail(d.error),i=G(Ve,d,e,C)){if(C.readyState=1,f&&g.trigger("ajaxSend",[C,d]),l)return C;d.async&&d.timeout>0&&(u=n.setTimeout(function(){C.abort("timeout")},d.timeout));try{l=!1,i.send(_,r)}catch(T){if(l)throw T;r(-1,T)}}else r(-1,"No Transport");return C},getJSON:function(t,e,n){return gt.get(t,e,n,"json")},getScript:function(t,e){return gt.get(t,void 0,e,"script")}}),gt.each(["get","post"],function(t,e){gt[e]=function(t,n,r,i){return gt.isFunction(n)&&(i=i||r,r=n,n=void 0),gt.ajax(gt.extend({url:t,type:e,dataType:i,data:n,success:r},gt.isPlainObject(t)&&t))}}),gt._evalUrl=function(t){return gt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},gt.fn.extend({wrapAll:function(t){var e;return this[0]&&(gt.isFunction(t)&&(t=t.call(this[0])),e=gt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return gt.isFunction(t)?this.each(function(e){gt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=gt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=gt.isFunction(t);return this.each(function(n){gt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){gt(this).replaceWith(this.childNodes)}),this}}),gt.expr.pseudos.hidden=function(t){return!gt.expr.pseudos.visible(t)},gt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},gt.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ue={0:200,1223:204},ze=gt.ajaxSettings.xhr();dt.cors=!!ze&&"withCredentials"in ze,dt.ajax=ze=!!ze,gt.ajaxTransport(function(t){var e,r;if(dt.cors||ze&&!t.crossDomain)return{send:function(i,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(s in i)a.setRequestHeader(s,i[s]);e=function(t){return function(){e&&(e=r=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Ue[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),r=a.onerror=e("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(u){if(e)throw u}},abort:function(){e&&e()}}}),gt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),gt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return gt.globalEval(t),t}}}),gt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),gt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(r,i){e=gt("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),rt.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Qe=[],Xe=/(=)\?(?=&|$)|\?\?/;gt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Qe.pop()||gt.expando+"_"+Ne++;return this[t]=!0,t}}),gt.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,s,a=t.jsonp!==!1&&(Xe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xe.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=gt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Xe,"$1"+i):t.jsonp!==!1&&(t.url+=(Oe.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||gt.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){s=arguments},r.always(function(){void 0===o?gt(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Qe.push(i)),s&&gt.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),dt.createHTMLDocument=function(){var t=rt.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),gt.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var r,i,o;return e||(dt.createHTMLDocument?(e=rt.implementation.createHTMLDocument(""),r=e.createElement("base"),r.href=rt.location.href,e.head.appendChild(r)):e=rt),i=Et.exec(t),o=!n&&[],i?[e.createElement(i[1])]:(i=x([t],e,o),o&&o.length&&gt(o).remove(),gt.merge([],i.childNodes))},gt.fn.load=function(t,e,n){var r,i,o,s=this,a=t.indexOf(" ");return a>-1&&(r=gt.trim(t.slice(a)),t=t.slice(0,a)),gt.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&gt.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(r?gt("<div>").append(gt.parseHTML(t)).find(r):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},gt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){gt.fn[e]=function(t){return this.on(e,t)}}),gt.expr.pseudos.animated=function(t){return gt.grep(gt.timers,function(e){return t===e.elem}).length},gt.offset={setOffset:function(t,e,n){var r,i,o,s,a,u,c,l=gt.css(t,"position"),f=gt(t),h={};"static"===l&&(t.style.position="relative"),a=f.offset(),o=gt.css(t,"top"),u=gt.css(t,"left"),c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(r=f.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),gt.isFunction(e)&&(e=e.call(t,n,gt.extend({},a))),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+i),"using"in e?e.using.call(t,h):f.css(h)}},gt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){gt.offset.setOffset(this,t,e)});var e,n,r,i,o=this[0];if(o)return o.getClientRects().length?(r=o.getBoundingClientRect(),r.width||r.height?(i=o.ownerDocument,n=et(i),e=i.documentElement,{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r):{top:0,left:0}},position:function(){if(this[0]){var t,e,n=this[0],r={top:0,left:0};return"fixed"===gt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),gt.nodeName(t[0],"html")||(r=t.offset()),r={top:r.top+gt.css(t[0],"borderTopWidth",!0),left:r.left+gt.css(t[0],"borderLeftWidth",!0)}),{top:e.top-r.top-gt.css(n,"marginTop",!0),left:e.left-r.left-gt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===gt.css(t,"position");)t=t.offsetParent;return t||Zt})}}),gt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;gt.fn[t]=function(r){return Rt(this,function(t,r,i){var o=et(t);return void 0===i?o?o[e]:t[r]:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i)},t,r,arguments.length)}}),gt.each(["top","left"],function(t,e){gt.cssHooks[e]=R(dt.pixelPosition,function(t,n){if(n)return n=I(t,e),ue.test(n)?gt(t).position()[e]+"px":n})}),gt.each({Height:"height",Width:"width"},function(t,e){gt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){gt.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||o===!0?"margin":"border");return Rt(this,function(e,n,i){var o;return gt.isWindow(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?gt.css(e,n,a):gt.style(e,n,i,a)},e,s?i:void 0,s)}})}),gt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),gt.parseJSON=JSON.parse,r=[],i=function(){return gt}.apply(e,r),!(void 0!==i&&(t.exports=i));var Je=n.jQuery,Ye=n.$;return gt.noConflict=function(t){return n.$===gt&&(n.$=Ye),t&&n.jQuery===gt&&(n.jQuery=Je),gt},o||(n.jQuery=n.$=gt),gt})},function(t,e,n){(function(t,r){var i;(function(){function o(t,e){return t.set(e[0],e[1]),t}function s(t,e){return t.add(e),t}function a(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function u(t,e,n,r){for(var i=-1,o=t?t.length:0;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}function c(t,e){for(var n=-1,r=t?t.length:0;++n<r&&e(t[n],n,t)!==!1;);return t}function l(t,e){for(var n=t?t.length:0;n--&&e(t[n],n,t)!==!1;);return t}function f(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(!e(t[n],n,t))return!1;return!0}function h(t,e){for(var n=-1,r=t?t.length:0,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function p(t,e){var n=t?t.length:0;return!!n&&x(t,e,0)>-1}function d(t,e,n){for(var r=-1,i=t?t.length:0;++r<i;)if(n(e,t[r]))return!0;return!1}function v(t,e){for(var n=-1,r=t?t.length:0,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function g(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function m(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function y(t,e,n,r){var i=t?t.length:0;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function b(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(e(t[n],n,t))return!0;return!1}function _(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function w(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function x(t,e,n){if(e!==e)return w(t,T,n);for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function C(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function T(t){return t!==t}function E(t,e){var n=t?t.length:0;return n?A(t,e)/n:Et}function $(t){return function(e){return null==e?G:e[t]}}function k(t){return function(e){return null==t?G:t[e]}}function N(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function O(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function A(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==G&&(n=n===G?o:n+o)}return n}function j(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function D(t,e){return v(e,function(e){return[e,t[e]]})}function S(t){return function(e){return t(e)}}function I(t,e){return v(e,function(e){return t[e]})}function R(t,e){return t.has(e)}function L(t,e){for(var n=-1,r=t.length;++n<r&&x(e,t[n],0)>-1;);return n}function P(t,e){for(var n=t.length;n--&&x(e,t[n],0)>-1;);return n}function F(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&r++;return r}function H(t){return"\\"+Ln[t]}function W(t,e){return null==t?G:t[e]}function q(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function V(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function M(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function B(t,e){return function(n){return t(e(n))}}function U(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];s!==e&&s!==nt||(t[n]=nt,o[i++]=n)}return o}function z(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function Q(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t];
0 ignored issues
show
Complexity Best Practice introduced by
There is no return statement if !dt.radioValue && "radio...gt.nodeName(t, "input") is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable p seems to not be initialized for all possible execution paths.
Loading history...
Complexity Best Practice introduced by
There is no return statement if gt.isArray(e) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable s seems to not be initialized for all possible execution paths.
Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
Complexity Best Practice introduced by
There is no return statement if e is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if i is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable n does not seem to be initialized in case i on line 4 is true. Are you sure this can never be the case?
Loading history...
Complexity Best Practice introduced by
There is no return statement if t && 3 !== t.nodeType &&...= t.nodeType && t.style is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if n is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style Comprehensibility Best Practice introduced by
Empty catch clauses should be used with caution; consider adding a comment why this is needed.
Loading history...
Bug introduced by
The variable _ seems to not be initialized for all possible execution paths. Are you sure tt handles undefined variables?
Loading history...
Coding Style introduced by
As per coding-style, switch statements should have a default case.
Loading history...
Bug introduced by
The variable n seems to not be initialized for all possible execution paths.
Loading history...
Best Practice introduced by
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
Bug introduced by
The variable i seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable r does not seem to be initialized in case 3 !== o && 8 !== o && 2 !== o on line 4 is true. Are you sure this can never be the case?
Loading history...
Complexity Best Practice introduced by
There is no return statement if s = a = r = r || rt, 3 !...gger.apply(r, e) !== !1 is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if a || "jsonp" === t.dataTypes.0 is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if this.0 is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if e(t, n, i) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style introduced by
Consider using undefined instead of void(0). It is equivalent and more straightforward to read.
Loading history...
Bug introduced by
The variable G seems to be never initialized.
Loading history...
Complexity Best Practice introduced by
There is no return statement if dt.cors || ze && !t.crossDomain is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
introduced by
The for loop does not have a body. Maybe you have misplaced a semicolon. If you do wish to have a loop without a body, use an empty body {}.
Loading history...
Complexity Best Practice introduced by
There is no return statement if t.crossDomain is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if o is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable h seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable i seems to be never initialized.
Loading history...
Bug introduced by
The variable e does not seem to be initialized in case l on line 4 is false. Are you sure this can never be the case?
Loading history...
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Bug introduced by
The variable f does not seem to be initialized in case s = a = r = r || rt, 3 !...gger.apply(r, e) !== !1 on line 4 is true. Are you sure this can never be the case?
Loading history...
Bug introduced by
The variable u does not seem to be initialized in case !i && !f.noBubble && !gt.isWindow(r) on line 4 is false. Are you sure this can never be the case?
Loading history...
Complexity Best Practice introduced by
There is no return statement if 3 !== o && 8 !== o && 2 !== o is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Duplication introduced by
This code seems to be duplicated in your project.
Loading history...
Duplication introduced by
This code seems to be duplicated in your project.
Loading history...
5
}),n}function X(t){if(!t||!kn.test(t))return t.length;for(var e=En.lastIndex=0;En.test(t);)e++;return e}function J(t){return t.match(En)}function Y(t){function e(t){if(Pa(t)&&!qf(t)&&!(t instanceof i)){if(t instanceof r)return t;if(Uc.call(t,"__wrapped__"))return So(t)}return new r(t)}function n(){}function r(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=G}function i(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$t,this.__views__=[]}function k(){var t=new i(this.__wrapped__);return t.__actions__=Ti(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ti(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ti(this.__views__),t}function He(){if(this.__filtered__){var t=new i(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function We(){var t=this.__wrapped__.value(),e=this.__dir__,n=qf(t),r=e<0,i=n?t.length:0,o=ao(0,i,this.__views__),s=o.start,a=o.end,u=a-s,c=r?a:s-1,l=this.__iteratees__,f=l.length,h=0,p=ml(u,this.__takeCount__);if(!n||i<K||i==u&&p==u)return oi(t,this.__actions__);var d=[];t:for(;u--&&h<p;){c+=e;for(var v=-1,g=t[c];++v<f;){var m=l[v],y=m.iteratee,b=m.type,_=y(g);if(b==_t)g=_;else if(!_){if(b==bt)continue t;break t}}d[h++]=g}return d}function qe(t){var e=this,n=-1,r=t?t.length:0;for(this.clear();++n<r;){var i=t[n];e.set(i[0],i[1])}}function Ve(){this.__data__=Nl?Nl(null):{}}function Me(t){return this.has(t)&&delete this.__data__[t]}function Be(t){var e=this.__data__;if(Nl){var n=e[t];return n===et?G:n}return Uc.call(e,t)?e[t]:G}function Ue(t){var e=this.__data__;return Nl?e[t]!==G:Uc.call(e,t)}function ze(t,e){var n=this.__data__;return n[t]=Nl&&e===G?et:e,this}function Qe(t){var e=this,n=-1,r=t?t.length:0;for(this.clear();++n<r;){var i=t[n];e.set(i[0],i[1])}}function Xe(){this.__data__=[]}function Je(t){var e=this.__data__,n=bn(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():il.call(e,n,1),!0}function Ye(t){var e=this.__data__,n=bn(e,t);return n<0?G:e[n][1]}function Ge(t){return bn(this.__data__,t)>-1}function Ze(t,e){var n=this.__data__,r=bn(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Ke(t){var e=this,n=-1,r=t?t.length:0;for(this.clear();++n<r;){var i=t[n];e.set(i[0],i[1])}}function tn(){this.__data__={hash:new qe,map:new(Tl||Qe),string:new qe}}function en(t){return io(this,t)["delete"](t)}function nn(t){return io(this,t).get(t)}function rn(t){return io(this,t).has(t)}function on(t,e){return io(this,t).set(t,e),this}function sn(t){var e=this,n=-1,r=t?t.length:0;for(this.__data__=new Ke;++n<r;)e.add(t[n])}function an(t){return this.__data__.set(t,et),this}function un(t){return this.__data__.has(t)}function cn(t){this.__data__=new Qe(t)}function ln(){this.__data__=new Qe}function fn(t){return this.__data__["delete"](t)}function hn(t){return this.__data__.get(t)}function pn(t){return this.__data__.has(t)}function dn(t,e){var n=this.__data__;if(n instanceof Qe){var r=n.__data__;if(!Tl||r.length<K-1)return r.push([t,e]),this;n=this.__data__=new Ke(r)}return n.set(t,e),this}function vn(t,e){var n=qf(t)||Qa(t)||Ca(t)?j(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!Uc.call(t,o)||i&&("length"==o||go(o,r))||n.push(o);return n}function gn(t,e,n,r){return t===G||xa(t,Wc[n])&&!Uc.call(r,n)?e:t}function mn(t,e,n){(n===G||xa(t[e],n))&&("number"!=typeof e||n!==G||e in t)||(t[e]=n)}function yn(t,e,n){var r=t[e];Uc.call(t,e)&&xa(r,n)&&(n!==G||e in t)||(t[e]=n)}function bn(t,e){for(var n=t.length;n--;)if(xa(t[n][0],e))return n;return-1}function _n(t,e,n,r){return ql(t,function(t,i,o){e(r,t,n(t),o)}),r}function wn(t,e){return t&&Ei(e,yu(e),t)}function xn(t,e){for(var n=-1,r=null==t,i=e.length,o=Ic(i);++n<i;)o[n]=r?G:vu(t,e[n]);return o}function En(t,e,n){return t===t&&(n!==G&&(t=t<=n?t:n),e!==G&&(t=t>=e?t:e)),t}function Sn(t,e,n,r,i,o,s){var a;if(r&&(a=o?r(t,i,o,s):r(t)),a!==G)return a;if(!La(t))return t;var u=qf(t);if(u){if(a=lo(t),!e)return Ti(t,a)}else{var l=Gl(t),f=l==Rt||l==Lt;if(Mf(t))return hi(t,e);if(l==Ht||l==At||f&&!o){if(q(t))return o?t:{};if(a=fo(f?{}:t),!e)return $i(t,wn(a,t))}else{if(!Dn[l])return o?t:{};a=ho(t,l,Sn,e)}}s||(s=new cn);var h=s.get(t);if(h)return h;if(s.set(t,a),!u)var p=n?Ki(t):yu(t);return c(p||t,function(i,o){p&&(o=i,i=t[o]),yn(a,o,Sn(i,e,n,r,o,t,s))}),a}function In(t){var e=yu(t);return function(n){return Rn(n,t,e)}}function Rn(t,e,n){var r=n.length;if(null==t)return!r;for(t=Object(t);r--;){var i=n[r],o=e[i],s=t[i];if(s===G&&!(i in t)||!o(s))return!1}return!0}function Ln(t){return La(t)?nl(t):{}}function Hn(t,e,n){if("function"!=typeof t)throw new Fc(tt);return tf(function(){t.apply(G,n)},e)}function Wn(t,e,n,r){var i=-1,o=p,s=!0,a=t.length,u=[],c=e.length;if(!a)return u;n&&(e=v(e,S(n))),r?(o=d,s=!1):e.length>=K&&(o=R,s=!1,e=new sn(e));t:for(;++i<a;){var l=t[i],f=n?n(l):l;if(l=r||0!==l?l:0,s&&f===f){for(var h=c;h--;)if(e[h]===f)continue t;u.push(l)}else o(e,f,r)||u.push(l)}return u}function Vn(t,e){var n=!0;return ql(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Mn(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],s=e(o);if(null!=s&&(a===G?s===s&&!Xa(s):n(s,a)))var a=s,u=o}return u}function Un(t,e,n,r){var i=t.length;for(n=tu(n),n<0&&(n=-n>i?0:i+n),r=r===G||r>i?i:tu(r),r<0&&(r+=i),r=n>r?0:eu(r);n<r;)t[n++]=e;return t}function zn(t,e){var n=[];return ql(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function rr(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=vo),i||(i=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?rr(a,e-1,n,r,i):g(i,a):r||(i[i.length]=a)}return i}function ir(t,e){return t&&Ml(t,e,yu)}function or(t,e){return t&&Bl(t,e,yu)}function sr(t,e){return h(e,function(e){return Sa(t[e])})}function ar(t,e){e=yo(e,t)?[e]:li(e);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Ao(e[n++])];return n&&n==r?t:G}function ur(t,e,n){var r=e(t);return qf(t)?r:g(r,n(t))}function cr(t){return Xc.call(t)}function lr(t,e){return t>e}function fr(t,e){return null!=t&&Uc.call(t,e)}function hr(t,e){return null!=t&&e in Object(t)}function pr(t,e,n){return t>=ml(e,n)&&t<gl(e,n)}function dr(t,e,n){for(var r=n?d:p,i=t[0].length,o=t.length,s=o,a=Ic(o),u=1/0,c=[];s--;){var l=t[s];s&&e&&(l=v(l,S(e))),u=ml(l.length,u),a[s]=!n&&(e||i>=120&&l.length>=120)?new sn(s&&l):G}l=t[0];var f=-1,h=a[0];t:for(;++f<i&&c.length<u;){var g=l[f],m=e?e(g):g;if(g=n||0!==g?g:0,!(h?R(h,m):r(c,m,n))){for(s=o;--s;){var y=a[s];if(!(y?R(y,m):r(t[s],m,n)))continue t}h&&h.push(m),c.push(g)}}return c}function vr(t,e,n,r){return ir(t,function(t,i,o){e(r,n(t),i,o)}),r}function gr(t,e,n){yo(e,t)||(e=li(e),t=No(t,e),e=Zo(e));var r=null==t?t:t[Ao(e)];return null==r?G:a(r,t,n)}function mr(t){return Pa(t)&&Xc.call(t)==Qt}function yr(t){return Pa(t)&&Xc.call(t)==St}function br(t,e,n,r,i){return t===e||(null==t||null==e||!La(t)&&!Pa(e)?t!==t&&e!==e:_r(t,e,br,n,r,i))}function _r(t,e,n,r,i,o){var s=qf(t),a=qf(e),u=jt,c=jt;s||(u=Gl(t),u=u==At?Ht:u),a||(c=Gl(e),c=c==At?Ht:c);var l=u==Ht&&!q(t),f=c==Ht&&!q(e),h=u==c;if(h&&!l)return o||(o=new cn),s||Xf(t)?Yi(t,e,n,r,i,o):Gi(t,e,u,n,r,i,o);if(!(i&dt)){var p=l&&Uc.call(t,"__wrapped__"),d=f&&Uc.call(e,"__wrapped__");if(p||d){var v=p?t.value():t,g=d?e.value():e;return o||(o=new cn),n(v,g,r,i,o)}}return!!h&&(o||(o=new cn),Zi(t,e,n,r,i,o))}function wr(t){return Pa(t)&&Gl(t)==Pt}function xr(t,e,n,r){var i=n.length,o=i,s=!r;if(null==t)return!o;for(t=Object(t);i--;){var a=n[i];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){a=n[i];var u=a[0],c=t[u],l=a[1];if(s&&a[2]){if(c===G&&!(u in t))return!1}else{var f=new cn;if(r)var h=r(c,l,u,t,e,f);if(!(h===G?br(l,c,r,pt|dt,f):h))return!1}}return!0}function Cr(t){if(!La(t)||wo(t))return!1;var e=Sa(t)||q(t)?Yc:Se;return e.test(jo(t))}function Tr(t){return La(t)&&Xc.call(t)==qt}function Er(t){return Pa(t)&&Gl(t)==Vt}function $r(t){return Pa(t)&&Ra(t.length)&&!!jn[Xc.call(t)]}function kr(t){return"function"==typeof t?t:null==t?uc:"object"==typeof t?qf(t)?Sr(t[0],t[1]):Dr(t):gc(t)}function Nr(t){if(!xo(t))return vl(t);var e=[];for(var n in Object(t))Uc.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Or(t){if(!La(t))return ko(t);var e=xo(t),n=[];for(var r in t)("constructor"!=r||!e&&Uc.call(t,r))&&n.push(r);return n}function Ar(t,e){return t<e}function jr(t,e){var n=-1,r=Ta(t)?Ic(t.length):[];return ql(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function Dr(t){var e=oo(t);return 1==e.length&&e[0][2]?To(e[0][0],e[0][1]):function(n){return n===t||xr(n,t,e)}}function Sr(t,e){return yo(t)&&Co(e)?To(Ao(t),e):function(n){var r=vu(n,t);return r===G&&r===e?mu(n,t):br(e,r,G,pt|dt)}}function Ir(t,e,n,r,i){if(t!==e){if(!qf(e)&&!Xf(e))var o=Or(e);c(o||e,function(s,a){if(o&&(a=s,s=e[a]),La(s))i||(i=new cn),Rr(t,e,a,n,Ir,r,i);else{var u=r?r(t[a],s,a+"",t,e,i):G;u===G&&(u=s),mn(t,a,u)}})}}function Rr(t,e,n,r,i,o,s){var a=t[n],u=e[n],c=s.get(u);if(c)return void mn(t,n,c);var l=o?o(a,u,n+"",t,e,s):G,f=l===G;f&&(l=u,qf(u)||Xf(u)?qf(a)?l=a:Ea(a)?l=Ti(a):(f=!1,l=Sn(u,!0)):Ua(u)||Ca(u)?Ca(a)?l=ru(a):!La(a)||r&&Sa(a)?(f=!1,l=Sn(u,!0)):l=a:f=!1),f&&(s.set(u,l),i(l,u,r,o,s),s["delete"](u)),mn(t,n,l)}function Lr(t,e){var n=t.length;if(n)return e+=e<0?n:0,go(e,n)?t[e]:G}function Pr(t,e,n){var r=-1;e=v(e.length?e:[uc],S(ro()));var i=jr(t,function(t,n,i){var o=v(e,function(e){return e(t)});return{criteria:o,index:++r,value:t}});return O(i,function(t,e){return wi(t,e,n)})}function Fr(t,e){return t=Object(t),Hr(t,e,function(e,n){return n in t})}function Hr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var s=e[r],a=t[s];n(a,s)&&(o[s]=a)}return o}function Wr(t){return function(e){return ar(e,t)}}function qr(t,e,n,r){var i=r?C:x,o=-1,s=e.length,a=t;for(t===e&&(e=Ti(e)),n&&(a=v(t,S(n)));++o<s;)for(var u=0,c=e[o],l=n?n(c):c;(u=i(a,l,u,r))>-1;)a!==t&&il.call(a,u,1),il.call(t,u,1);return t}function Vr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;if(go(i))il.call(t,i,1);else if(yo(i,t))delete t[Ao(i)];else{var s=li(i),a=No(t,s);null!=a&&delete a[Ao(Zo(s))]}}}return t}function Mr(t,e){return t+ll(bl()*(e-t+1))}function Br(t,e,n,r){for(var i=-1,o=gl(cl((e-t)/(n||1)),0),s=Ic(o);o--;)s[r?o:++i]=t,t+=n;return s}function Ur(t,e){var n="";if(!t||e<1||e>Ct)return n;do e%2&&(n+=t),e=ll(e/2),e&&(t+=t);while(e);return n}function zr(t,e){return e=gl(e===G?t.length-1:e,0),function(){for(var n=arguments,r=-1,i=gl(n.length-e,0),o=Ic(i);++r<i;)o[r]=n[e+r];r=-1;for(var s=Ic(e+1);++r<e;)s[r]=n[r];return s[e]=o,a(t,this,s)}}function Qr(t,e,n,r){if(!La(t))return t;e=yo(e,t)?[e]:li(e);for(var i=-1,o=e.length,s=o-1,a=t;null!=a&&++i<o;){var u=Ao(e[i]),c=n;if(i!=s){var l=a[u];c=r?r(l,u,a):G,c===G&&(c=La(l)?l:go(e[i+1])?[]:{})}yn(a,u,c),a=a[u]}return t}function Xr(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Ic(i);++r<i;)o[r]=t[r+e];return o}function Jr(t,e){var n;return ql(t,function(t,r,i){return n=e(t,r,i),!n}),!!n}function Yr(t,e,n){var r=0,i=t?t.length:r;if("number"==typeof e&&e===e&&i<=Nt){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!Xa(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return Gr(t,e,uc,n)}function Gr(t,e,n,r){e=n(e);for(var i=0,o=t?t.length:0,s=e!==e,a=null===e,u=Xa(e),c=e===G;i<o;){var l=ll((i+o)/2),f=n(t[l]),h=f!==G,p=null===f,d=f===f,v=Xa(f);if(s)var g=r||d;else g=c?d&&(r||h):a?d&&h&&(r||!p):u?d&&h&&!p&&(r||!v):!p&&!v&&(r?f<=e:f<e);g?i=l+1:o=l}return ml(o,kt)}function Zr(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n],a=e?e(s):s;if(!n||!xa(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function Kr(t){return"number"==typeof t?t:Xa(t)?Et:+t}function ti(t){if("string"==typeof t)return t;if(Xa(t))return Wl?Wl.call(t):"";var e=t+"";return"0"==e&&1/t==-xt?"-0":e}function ei(t,e,n){var r=-1,i=p,o=t.length,s=!0,a=[],u=a;if(n)s=!1,i=d;else if(o>=K){var c=e?null:Ql(t);if(c)return z(c);s=!1,i=R,u=new sn}else u=e?[]:a;t:for(;++r<o;){var l=t[r],f=e?e(l):l;if(l=n||0!==l?l:0,s&&f===f){for(var h=u.length;h--;)if(u[h]===f)continue t;e&&u.push(f),a.push(l)}else i(u,f,n)||(u!==a&&u.push(f),a.push(l))}return a}function ni(t,e){e=yo(e,t)?[e]:li(e),t=No(t,e);var n=Ao(Zo(e));return!(null!=t&&Uc.call(t,n))||delete t[n]}function ri(t,e,n,r){return Qr(t,e,n(ar(t,e)),r)}function ii(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?Xr(t,r?0:o,r?o+1:i):Xr(t,r?o+1:0,r?i:o)}function oi(t,e){var n=t;return n instanceof i&&(n=n.value()),m(e,function(t,e){return e.func.apply(e.thisArg,g([t],e.args))},n)}function si(t,e,n){for(var r=-1,i=t.length;++r<i;)var o=o?g(Wn(o,t[r],e,n),Wn(t[r],o,e,n)):t[r];return o&&o.length?ei(o,e,n):[]}function ai(t,e,n){for(var r=-1,i=t.length,o=e.length,s={};++r<i;){var a=r<o?e[r]:G;n(s,t[r],a)}return s}function ui(t){return Ea(t)?t:[]}function ci(t){return"function"==typeof t?t:uc}function li(t){return qf(t)?t:nf(t)}function fi(t,e,n){var r=t.length;return n=n===G?r:n,!e&&n>=r?t:Xr(t,e,n)}function hi(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function pi(t){var e=new t.constructor(t.byteLength);return new Kc(e).set(new Kc(t)),e}function di(t,e){var n=e?pi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function vi(t,e,n){var r=e?n(M(t),!0):M(t);return m(r,o,new t.constructor)}function gi(t){var e=new t.constructor(t.source,Oe.exec(t));return e.lastIndex=t.lastIndex,e}function mi(t,e,n){var r=e?n(z(t),!0):z(t);return m(r,s,new t.constructor)}function yi(t){return Hl?Object(Hl.call(t)):{}}function bi(t,e){var n=e?pi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function _i(t,e){if(t!==e){var n=t!==G,r=null===t,i=t===t,o=Xa(t),s=e!==G,a=null===e,u=e===e,c=Xa(e);if(!a&&!c&&!o&&t>e||o&&s&&u&&!a&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!u)return-1}return 0}function wi(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;++r<s;){var u=_i(i[r],o[r]);if(u){if(r>=a)return u;var c=n[r];return u*("desc"==c?-1:1)}}return t.index-e.index}function xi(t,e,n,r){for(var i=-1,o=t.length,s=n.length,a=-1,u=e.length,c=gl(o-s,0),l=Ic(u+c),f=!r;++a<u;)l[a]=e[a];for(;++i<s;)(f||i<o)&&(l[n[i]]=t[i]);for(;c--;)l[a++]=t[i++];return l}function Ci(t,e,n,r){for(var i=-1,o=t.length,s=-1,a=n.length,u=-1,c=e.length,l=gl(o-a,0),f=Ic(l+c),h=!r;++i<l;)f[i]=t[i];for(var p=i;++u<c;)f[p+u]=e[u];for(;++s<a;)(h||i<o)&&(f[p+n[s]]=t[i++]);return f}function Ti(t,e){var n=-1,r=t.length;for(e||(e=Ic(r));++n<r;)e[n]=t[n];return e}function Ei(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var s=e[i],a=r?r(n[s],t[s],s,n,t):G;yn(n,s,a===G?t[s]:a)}return n}function $i(t,e){return Ei(t,Jl(t),e)}function ki(t,e){return function(n,r){var i=qf(n)?u:_n,o=e?e():{};return i(n,t,ro(r,2),o)}}function Ni(t){return zr(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:G,s=i>2?n[2]:G;for(o=t.length>3&&"function"==typeof o?(i--,o):G,s&&mo(n[0],n[1],s)&&(o=i<3?G:o,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e})}function Oi(t,e){return function(n,r){if(null==n)return n;if(!Ta(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=Object(n);(e?o--:++o<i)&&r(s[o],o,s)!==!1;);return n}}function Ai(t){return function(e,n,r){for(var i=-1,o=Object(e),s=r(e),a=s.length;a--;){var u=s[t?a:++i];if(n(o[u],u,o)===!1)break}return e}}function ji(t,e,n){function r(){var e=this&&this!==qn&&this instanceof r?o:t;return e.apply(i?n:this,arguments)}var i=e&rt,o=Ii(t);return r}function Di(t){return function(e){e=ou(e);var n=kn.test(e)?J(e):G,r=n?n[0]:e.charAt(0),i=n?fi(n,1).join(""):e.slice(1);return r[t]()+i}}function Si(t){return function(e){return m(rc(Pu(e).replace(Cn,"")),t,"")}}function Ii(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Ln(t.prototype),r=t.apply(n,e);return La(r)?r:n}}function Ri(t,e,n){function r(){for(var o=arguments,s=arguments.length,u=Ic(s),c=s,l=no(r);c--;)u[c]=o[c];var f=s<3&&u[0]!==l&&u[s-1]!==l?[]:U(u,l);if(s-=f.length,s<n)return zi(t,e,Fi,r.placeholder,G,u,f,G,G,n-s);var h=this&&this!==qn&&this instanceof r?i:t;return a(h,this,u)}var i=Ii(t);return r}function Li(t){return function(e,n,r){var i=Object(e);if(!Ta(e)){var o=ro(n,3);e=yu(e),n=function(t){return o(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[o?e[s]:s]:G}}function Pi(t){return zr(function(e){e=rr(e,1);var n=e.length,i=n,o=r.prototype.thru;for(t&&e.reverse();i--;){var s=e[i];if("function"!=typeof s)throw new Fc(tt);if(o&&!a&&"wrapper"==eo(s))var a=new r([],(!0))}for(i=a?i:n;++i<n;){s=e[i];var u=eo(s),c="wrapper"==u?Xl(s):G;a=c&&_o(c[0])&&c[1]==(lt|st|ut|ft)&&!c[4].length&&1==c[9]?a[eo(c[0])].apply(a,c[3]):1==s.length&&_o(s)?a[u]():a.thru(s)}return function(){var t=this,r=arguments,i=r[0];if(a&&1==r.length&&qf(i)&&i.length>=K)return a.plant(i).value();for(var o=0,s=n?e[o].apply(this,r):i;++o<n;)s=e[o].call(t,s);return s}})}function Fi(t,e,n,r,i,o,s,a,u,c){function l(){for(var m=arguments,y=arguments.length,b=Ic(y),_=y;_--;)b[_]=m[_];if(d)var w=no(l),x=F(b,w);if(r&&(b=xi(b,r,i,d)),o&&(b=Ci(b,o,s,d)),y-=x,d&&y<c){var C=U(b,w);return zi(t,e,Fi,l.placeholder,n,b,C,a,u,c-y)}var T=h?n:this,E=p?T[t]:t;return y=b.length,a?b=Oo(b,a):v&&y>1&&b.reverse(),f&&u<y&&(b.length=u),this&&this!==qn&&this instanceof l&&(E=g||Ii(E)),E.apply(T,b)}var f=e&lt,h=e&rt,p=e&it,d=e&(st|at),v=e&ht,g=p?G:Ii(t);return l}function Hi(t,e){return function(n,r){return vr(n,t,e(r),{})}}function Wi(t,e){return function(n,r){var i;if(n===G&&r===G)return e;if(n!==G&&(i=n),r!==G){if(i===G)return r;"string"==typeof n||"string"==typeof r?(n=ti(n),r=ti(r)):(n=Kr(n),r=Kr(r)),i=t(n,r)}return i}}function qi(t){return zr(function(e){return e=1==e.length&&qf(e[0])?v(e[0],S(ro())):v(rr(e,1),S(ro())),zr(function(n){var r=this;return t(e,function(t){return a(t,r,n)})})})}function Vi(t,e){e=e===G?" ":ti(e);var n=e.length;if(n<2)return n?Ur(e,t):e;var r=Ur(e,cl(t/X(e)));return kn.test(e)?fi(J(r),0,t).join(""):r.slice(0,t)}function Mi(t,e,n,r){function i(){for(var e=arguments,u=-1,c=arguments.length,l=-1,f=r.length,h=Ic(f+c),p=this&&this!==qn&&this instanceof i?s:t;++l<f;)h[l]=r[l];for(;c--;)h[l++]=e[++u];return a(p,o?n:this,h)}var o=e&rt,s=Ii(t);return i}function Bi(t){return function(e,n,r){return r&&"number"!=typeof r&&mo(e,n,r)&&(n=r=G),e=Ka(e),n===G?(n=e,e=0):n=Ka(n),r=r===G?e<n?1:-1:Ka(r),Br(e,n,r,t)}}function Ui(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=nu(e),n=nu(n)),t(e,n)}}function zi(t,e,n,r,i,o,s,a,u,c){var l=e&st,f=l?s:G,h=l?G:s,p=l?o:G,d=l?G:o;e|=l?ut:ct,e&=~(l?ct:ut),e&ot||(e&=~(rt|it));var v=[t,e,i,p,f,d,h,a,u,c],g=n.apply(G,v);return _o(t)&&Kl(g,v),g.placeholder=r,ef(g,t,e)}function Qi(t){var e=Lc[t];return function(t,n){if(t=nu(t),n=ml(tu(n),292)){var r=(ou(t)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(ou(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function Xi(t){return function(e){var n=Gl(e);return n==Pt?M(e):n==Vt?Q(e):D(e,t(e))}}function Ji(t,e,n,r,i,o,s,a){var u=e&it;if(!u&&"function"!=typeof t)throw new Fc(tt);var c=r?r.length:0;if(c||(e&=~(ut|ct),r=i=G),s=s===G?s:gl(tu(s),0),a=a===G?a:tu(a),c-=i?i.length:0,e&ct){var l=r,f=i;r=i=G}var h=u?G:Xl(t),p=[t,e,n,r,i,l,f,o,s,a];if(h&&Eo(p,h),t=p[0],e=p[1],n=p[2],r=p[3],i=p[4],a=p[9]=null==p[9]?u?0:t.length:gl(p[9]-c,0),!a&&e&(st|at)&&(e&=~(st|at)),e&&e!=rt)d=e==st||e==at?Ri(t,e,a):e!=ut&&e!=(rt|ut)||i.length?Fi.apply(G,p):Mi(t,e,n,r);else var d=ji(t,e,n);var v=h?Ul:Kl;return ef(v(d,p),t,e)}function Yi(t,e,n,r,i,o){var s=i&dt,a=t.length,u=e.length;if(a!=u&&!(s&&u>a))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var l=-1,f=!0,h=i&pt?new sn:G;for(o.set(t,e),o.set(e,t);++l<a;){var p=t[l],d=e[l];if(r)var v=s?r(d,p,l,e,t,o):r(p,d,l,t,e,o);if(v!==G){if(v)continue;f=!1;break}if(h){if(!b(e,function(t,e){if(!h.has(e)&&(p===t||n(p,t,r,i,o)))return h.add(e)})){f=!1;break}}else if(p!==d&&!n(p,d,r,i,o)){f=!1;break}}return o["delete"](t),o["delete"](e),f}function Gi(t,e,n,r,i,o,s){switch(n){case Xt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Qt:return!(t.byteLength!=e.byteLength||!r(new Kc(t),new Kc(e)));case Dt:case St:case Ft:return xa(+t,+e);case It:return t.name==e.name&&t.message==e.message;case qt:case Mt:return t==e+"";case Pt:var a=M;case Vt:var u=o&dt;if(a||(a=z),t.size!=e.size&&!u)return!1;var c=s.get(t);if(c)return c==e;o|=pt,s.set(t,e);var l=Yi(a(t),a(e),r,i,o,s);return s["delete"](t),l;case Bt:if(Hl)return Hl.call(t)==Hl.call(e)}return!1}function Zi(t,e,n,r,i,o){var s=i&dt,a=yu(t),u=a.length,c=yu(e),l=c.length;if(u!=l&&!s)return!1;for(var f=u;f--;){var h=a[f];if(!(s?h in e:Uc.call(e,h)))return!1}var p=o.get(t);if(p&&o.get(e))return p==e;var d=!0;o.set(t,e),o.set(e,t);for(var v=s;++f<u;){h=a[f];var g=t[h],m=e[h];if(r)var y=s?r(m,g,h,e,t,o):r(g,m,h,t,e,o);if(!(y===G?g===m||n(g,m,r,i,o):y)){d=!1;break}v||(v="constructor"==h)}if(d&&!v){var b=t.constructor,_=e.constructor;b!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(d=!1)}return o["delete"](t),o["delete"](e),d}function Ki(t){return ur(t,yu,Jl)}function to(t){return ur(t,bu,Yl)}function eo(t){for(var e=t.name+"",n=Dl[e],r=Uc.call(Dl,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function no(t){var n=Uc.call(e,"placeholder")?e:t;return n.placeholder}function ro(){var t=e.iteratee||cc;return t=t===cc?kr:t,arguments.length?t(arguments[0],arguments[1]):t}function io(t,e){var n=t.__data__;return bo(e)?n["string"==typeof e?"string":"hash"]:n.map}function oo(t){for(var e=yu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Co(i)]}return e}function so(t,e){var n=W(t,e);return Cr(n)?n:G}function ao(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=ml(e,t+s);break;case"takeRight":t=gl(t,e-s)}}return{start:t,end:e}}function uo(t){var e=t.match(Te);return e?e[1].split(Ee):[]}function co(t,e,n){e=yo(e,t)?[e]:li(e);for(var r,i=-1,o=e.length;++i<o;){var s=Ao(e[i]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}if(r)return r;var o=t?t.length:0;return!!o&&Ra(o)&&go(s,o)&&(qf(t)||Qa(t)||Ca(t))}function lo(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&Uc.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function fo(t){return"function"!=typeof t.constructor||xo(t)?{}:Ln(tl(t))}function ho(t,e,n,r){var i=t.constructor;switch(e){case Qt:return pi(t);case Dt:case St:return new i((+t));case Xt:return di(t,r);case Jt:case Yt:case Gt:case Zt:case Kt:case te:case ee:case ne:case re:return bi(t,r);case Pt:return vi(t,r,n);case Ft:case Mt:return new i(t);case qt:return gi(t);case Vt:return mi(t,r,n);case Bt:return yi(t)}}function po(t,e){var n=e.length,r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Ce,"{\n/* [wrapped with "+e+"] */\n")}function vo(t){return qf(t)||Ca(t)||!!(ol&&t&&t[ol])}function go(t,e){return e=null==e?Ct:e,!!e&&("number"==typeof t||Re.test(t))&&t>-1&&t%1==0&&t<e}function mo(t,e,n){if(!La(n))return!1;var r=typeof e;return!!("number"==r?Ta(n)&&go(e,n.length):"string"==r&&e in n)&&xa(n[e],t)}function yo(t,e){if(qf(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Xa(t))||(ve.test(t)||!de.test(t)||null!=e&&t in Object(e))}function bo(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function _o(t){var n=eo(t),r=e[n];if("function"!=typeof r||!(n in i.prototype))return!1;if(t===r)return!0;var o=Xl(r);return!!o&&t===o[0]}function wo(t){return!!Mc&&Mc in t}function xo(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||Wc;return t===n}function Co(t){return t===t&&!La(t)}function To(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==G||t in Object(n)))}}function Eo(t,e){var n=t[1],r=e[1],i=n|r,o=i<(rt|it|lt),s=r==lt&&n==st||r==lt&&n==ft&&t[7].length<=e[8]||r==(lt|ft)&&e[7].length<=e[8]&&n==st;if(!o&&!s)return t;r&rt&&(t[2]=e[2],i|=n&rt?0:ot);var a=e[3];if(a){var u=t[3];t[3]=u?xi(u,a,e[4]):a,t[4]=u?U(t[3],nt):e[4]}return a=e[5],a&&(u=t[5],t[5]=u?Ci(u,a,e[6]):a,t[6]=u?U(t[5],nt):e[6]),a=e[7],a&&(t[7]=a),r&lt&&(t[8]=null==t[8]?e[8]:ml(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function $o(t,e,n,r,i,o){return La(t)&&La(e)&&(o.set(e,t),Ir(t,e,G,$o,o),o["delete"](e)),t}function ko(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}function No(t,e){return 1==e.length?t:ar(t,Xr(e,0,-1))}function Oo(t,e){for(var n=t.length,r=ml(e.length,n),i=Ti(t);r--;){var o=e[r];t[r]=go(o,n)?i[o]:G}return t}function Ao(t){if("string"==typeof t||Xa(t))return t;var e=t+"";return"0"==e&&1/t==-xt?"-0":e}function jo(t){if(null!=t){try{return Bc.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Do(t,e){return c(Ot,function(n){var r="_."+n[0];e&n[1]&&!p(t,r)&&t.push(r)}),t.sort()}function So(t){if(t instanceof i)return t.clone();var e=new r(t.__wrapped__,t.__chain__);return e.__actions__=Ti(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Io(t,e,n){e=(n?mo(t,e,n):e===G)?1:gl(tu(e),0);var r=t?t.length:0;if(!r||e<1)return[];for(var i=0,o=0,s=Ic(cl(r/e));i<r;)s[o++]=Xr(t,i,i+=e);return s}function Ro(t){for(var e=-1,n=t?t.length:0,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function Lo(){for(var t=arguments,e=arguments.length,n=Ic(e?e-1:0),r=arguments[0],i=e;i--;)n[i-1]=t[i];return e?g(qf(r)?Ti(r):[r],rr(n,1)):[]}function Po(t,e,n){var r=t?t.length:0;return r?(e=n||e===G?1:tu(e),Xr(t,e<0?0:e,r)):[]}function Fo(t,e,n){var r=t?t.length:0;return r?(e=n||e===G?1:tu(e),e=r-e,Xr(t,0,e<0?0:e)):[]}function Ho(t,e){return t&&t.length?ii(t,ro(e,3),!0,!0):[]}function Wo(t,e){return t&&t.length?ii(t,ro(e,3),!0):[]}function qo(t,e,n,r){var i=t?t.length:0;return i?(n&&"number"!=typeof n&&mo(t,e,n)&&(n=0,r=i),Un(t,e,n,r)):[]}function Vo(t,e,n){var r=t?t.length:0;if(!r)return-1;var i=null==n?0:tu(n);return i<0&&(i=gl(r+i,0)),w(t,ro(e,3),i)}function Mo(t,e,n){var r=t?t.length:0;if(!r)return-1;var i=r-1;return n!==G&&(i=tu(n),i=n<0?gl(r+i,0):ml(i,r-1)),w(t,ro(e,3),i,!0)}function Bo(t){var e=t?t.length:0;return e?rr(t,1):[]}function Uo(t){var e=t?t.length:0;return e?rr(t,xt):[]}function zo(t,e){var n=t?t.length:0;return n?(e=e===G?1:tu(e),rr(t,e)):[]}function Qo(t){for(var e=-1,n=t?t.length:0,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r}function Xo(t){return t&&t.length?t[0]:G}function Jo(t,e,n){var r=t?t.length:0;if(!r)return-1;var i=null==n?0:tu(n);return i<0&&(i=gl(r+i,0)),x(t,e,i)}function Yo(t){var e=t?t.length:0;return e?Xr(t,0,-1):[]}function Go(t,e){return t?dl.call(t,e):""}function Zo(t){var e=t?t.length:0;return e?t[e-1]:G}function Ko(t,e,n){var r=t?t.length:0;if(!r)return-1;var i=r;if(n!==G&&(i=tu(n),i=(i<0?gl(r+i,0):ml(i,r-1))+1),e!==e)return w(t,T,i-1,!0);for(;i--;)if(t[i]===e)return i;return-1}function ts(t,e){return t&&t.length?Lr(t,tu(e)):G}function es(t,e){return t&&t.length&&e&&e.length?qr(t,e):t}function ns(t,e,n){return t&&t.length&&e&&e.length?qr(t,e,ro(n,2)):t}function rs(t,e,n){return t&&t.length&&e&&e.length?qr(t,e,G,n):t}function is(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=ro(e,3);++r<o;){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return Vr(t,i),n}function os(t){return t?wl.call(t):t}function ss(t,e,n){var r=t?t.length:0;return r?(n&&"number"!=typeof n&&mo(t,e,n)?(e=0,n=r):(e=null==e?0:tu(e),n=n===G?r:tu(n)),Xr(t,e,n)):[]}function as(t,e){return Yr(t,e)}function us(t,e,n){return Gr(t,e,ro(n,2))}function cs(t,e){var n=t?t.length:0;if(n){var r=Yr(t,e);if(r<n&&xa(t[r],e))return r}return-1}function ls(t,e){return Yr(t,e,!0)}function fs(t,e,n){return Gr(t,e,ro(n,2),!0)}function hs(t,e){var n=t?t.length:0;if(n){var r=Yr(t,e,!0)-1;if(xa(t[r],e))return r}return-1}function ps(t){return t&&t.length?Zr(t):[]}function ds(t,e){return t&&t.length?Zr(t,ro(e,2)):[]}function vs(t){var e=t?t.length:0;return e?Xr(t,1,e):[]}function gs(t,e,n){return t&&t.length?(e=n||e===G?1:tu(e),Xr(t,0,e<0?0:e)):[]}function ms(t,e,n){var r=t?t.length:0;return r?(e=n||e===G?1:tu(e),e=r-e,Xr(t,e<0?0:e,r)):[]}function ys(t,e){return t&&t.length?ii(t,ro(e,3),!1,!0):[]}function bs(t,e){return t&&t.length?ii(t,ro(e,3)):[]}function _s(t){return t&&t.length?ei(t):[]}function ws(t,e){return t&&t.length?ei(t,ro(e,2)):[]}function xs(t,e){return t&&t.length?ei(t,G,e):[]}function Cs(t){if(!t||!t.length)return[];var e=0;return t=h(t,function(t){if(Ea(t))return e=gl(t.length,e),!0}),j(e,function(e){return v(t,$(e))})}function Ts(t,e){if(!t||!t.length)return[];var n=Cs(t);return null==e?n:v(n,function(t){return a(e,G,t)})}function Es(t,e){return ai(t||[],e||[],yn)}function $s(t,e){return ai(t||[],e||[],Qr)}function ks(t){var n=e(t);return n.__chain__=!0,n}function Ns(t,e){return e(t),t}function Os(t,e){return e(t)}function As(){return ks(this)}function js(){return new r(this.value(),this.__chain__)}function Ds(){this.__values__===G&&(this.__values__=Za(this.value()));var t=this.__index__>=this.__values__.length,e=t?G:this.__values__[this.__index__++];return{done:t,value:e}}function Ss(){return this}function Is(t){for(var e,r=this;r instanceof n;){var i=So(r);i.__index__=0,i.__values__=G,e?o.__wrapped__=i:e=i;var o=i;r=r.__wrapped__}return o.__wrapped__=t,e}function Rs(){var t=this.__wrapped__;if(t instanceof i){var e=t;return this.__actions__.length&&(e=new i(this)),e=e.reverse(),e.__actions__.push({func:Os,args:[os],thisArg:G}),new r(e,this.__chain__)}return this.thru(os)}function Ls(){return oi(this.__wrapped__,this.__actions__)}function Ps(t,e,n){var r=qf(t)?f:Vn;return n&&mo(t,e,n)&&(e=G),r(t,ro(e,3))}function Fs(t,e){var n=qf(t)?h:zn;return n(t,ro(e,3))}function Hs(t,e){return rr(Us(t,e),1)}function Ws(t,e){return rr(Us(t,e),xt)}function qs(t,e,n){return n=n===G?1:tu(n),rr(Us(t,e),n)}function Vs(t,e){var n=qf(t)?c:ql;return n(t,ro(e,3))}function Ms(t,e){var n=qf(t)?l:Vl;return n(t,ro(e,3))}function Bs(t,e,n,r){t=Ta(t)?t:ju(t),n=n&&!r?tu(n):0;var i=t.length;return n<0&&(n=gl(i+n,0)),Qa(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&x(t,e,n)>-1}function Us(t,e){var n=qf(t)?v:jr;return n(t,ro(e,3))}function zs(t,e,n,r){return null==t?[]:(qf(e)||(e=null==e?[]:[e]),n=r?G:n,qf(n)||(n=null==n?[]:[n]),Pr(t,e,n))}function Qs(t,e,n){var r=qf(t)?m:N,i=arguments.length<3;return r(t,ro(e,4),n,i,ql)}function Xs(t,e,n){var r=qf(t)?y:N,i=arguments.length<3;return r(t,ro(e,4),n,i,Vl)}function Js(t,e){var n=qf(t)?h:zn;return n(t,ca(ro(e,3)))}function Ys(t){var e=Ta(t)?t:ju(t),n=e.length;return n>0?e[Mr(0,n-1)]:G}function Gs(t,e,n){var r=-1,i=Za(t),o=i.length,s=o-1;for(e=(n?mo(t,e,n):e===G)?1:En(tu(e),0,o);++r<e;){var a=Mr(r,s),u=i[a];i[a]=i[r],i[r]=u}return i.length=e,i}function Zs(t){return Gs(t,$t)}function Ks(t){if(null==t)return 0;if(Ta(t)){var e=t.length;return e&&Qa(t)?X(t):e}if(Pa(t)){var n=Gl(t);if(n==Pt||n==Vt)return t.size}return Nr(t).length}function ta(t,e,n){var r=qf(t)?b:Jr;return n&&mo(t,e,n)&&(e=G),r(t,ro(e,3))}function ea(t,e){if("function"!=typeof e)throw new Fc(tt);return t=tu(t),function(){if(--t<1)return e.apply(this,arguments)}}function na(t,e,n){return e=n?G:e,e=t&&null==e?t.length:e,Ji(t,lt,G,G,G,G,e)}function ra(t,e){var n;if("function"!=typeof e)throw new Fc(tt);return t=tu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=G),n}}function ia(t,e,n){e=n?G:e;var r=Ji(t,st,G,G,G,G,G,e);return r.placeholder=ia.placeholder,r}function oa(t,e,n){e=n?G:e;var r=Ji(t,at,G,G,G,G,G,e);return r.placeholder=oa.placeholder,r}function sa(t,e,n){function r(e){var n=h,r=p;return h=p=G,y=e,v=t.apply(r,n)}function i(t){return y=t,g=tf(a,e),b?r(t):v}function o(t){var n=t-m,r=t-y,i=e-n;return _?ml(i,d-r):i}function s(t){var n=t-m,r=t-y;return m===G||n>=e||n<0||_&&r>=d}function a(){var t=Af();return s(t)?u(t):void(g=tf(a,o(t)))}function u(t){return g=G,w&&h?r(t):(h=p=G,v)}function c(){g!==G&&zl(g),y=0,h=m=p=g=G}function l(){
0 ignored issues
show
Coding Style introduced by
As per coding-style, switch statements should have a default case.
Loading history...
Bug introduced by
The variable s does not seem to be initialized in case the for loop on line 5 is not entered. Are you sure the function go handles undefined variables?
Loading history...
Bug introduced by
The variable o seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable o seems to not be initialized for all possible execution paths. Are you sure ei handles undefined variables?
Loading history...
Bug introduced by
The variable Dt seems to be never declared. If this is a global, consider adding a /** global: Dt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable It seems to be never declared. If this is a global, consider adding a /** global: It */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable p is changed as part of the for loop for example by t.l on line 5. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Bug introduced by
The variable qt seems to be never declared. If this is a global, consider adding a /** global: qt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
Bug introduced by
The variable Gt seems to be never declared. If this is a global, consider adding a /** global: Gt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable ee seems to be never declared. If this is a global, consider adding a /** global: ee */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable Bt seems to be never declared. If this is a global, consider adding a /** global: Bt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable n seems to not be initialized for all possible execution paths.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like t should be capitalized.
Loading history...
introduced by
You have used a bitwise operator & in a condition. Did you maybe want to use the logical operator &&
Loading history...
Bug introduced by
The variable v seems to not be initialized for all possible execution paths.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like qe should be capitalized.
Loading history...
Bug introduced by
The variable Kt seems to be never declared. If this is a global, consider adding a /** global: Kt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable f does not seem to be initialized in case c || e &= !(ut | ct), r ...i ? i.length: 0, e & ct on line 5 is false. Are you sure this can never be the case?
Loading history...
Bug introduced by
The variable h seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable d does not seem to be initialized in case d on line 5 is false. Are you sure the function xi handles undefined variables?
Loading history...
Best Practice introduced by
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
Complexity Best Practice introduced by
There is no return statement if Ea(t) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable i does not seem to be initialized in case n !== G && i = n, r !== G on line 5 is true. Are you sure this can never be the case?
Loading history...
Bug introduced by
The variable Jt seems to be never declared. If this is a global, consider adding a /** global: Jt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable Ft seems to be never declared. If this is a global, consider adding a /** global: Ft */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable ne seems to be never declared. If this is a global, consider adding a /** global: ne */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable Vt seems to be never declared. If this is a global, consider adding a /** global: Vt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable l does not seem to be initialized in case c || e &= !(ut | ct), r ...i ? i.length: 0, e & ct on line 5 is false. Are you sure this can never be the case?
Loading history...
Bug introduced by
The variable Mt seems to be never declared. If this is a global, consider adding a /** global: Mt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like sn should be capitalized.
Loading history...
Bug introduced by
The variable G seems to be never initialized.
Loading history...
Bug introduced by
The variable e does not seem to be initialized in case the for loop on line 5 is not entered. Are you sure this can never be the case?
Loading history...
Bug introduced by
The variable St seems to be never declared. If this is a global, consider adding a /** global: St */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable a does not seem to be initialized in case r && a = o ? r(t, i, o, s): r(t), a !== G on line 5 is false. Are you sure this can never be the case?
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like cn should be capitalized.
Loading history...
Bug introduced by
The variable Xt seems to be never declared. If this is a global, consider adding a /** global: Xt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like r should be capitalized.
Loading history...
Bug introduced by
The variable u seems to not be initialized for all possible execution paths. Are you sure xa handles undefined variables?
Loading history...
Bug introduced by
The variable x does not seem to be initialized in case d on line 5 is false. Are you sure this can never be the case?
Loading history...
Comprehensibility Best Practice introduced by
The name t is already used for a variable on line 5. Please consider using another name to prevent misunderstandings.
Loading history...
Comprehensibility Naming Best Practice introduced by
The variable o already seems to be declared on line 5. Consider using another variable name or omitting the var keyword.

This check looks for variables that are declared in multiple lines. There may be several reasons for this.

In the simplest case the variable name was reused by mistake. This may lead to very hard to locate bugs.

If you want to reuse a variable for another purpose, consider declaring it at or near the top of your function and just assigning to it subsequently so it is always declared.

Loading history...
Coding Style Comprehensibility Best Practice introduced by
Empty catch clauses should be used with caution; consider adding a comment why this is needed.
Loading history...
Bug introduced by
The variable re seems to be never declared. If this is a global, consider adding a /** global: re */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable o does not seem to be initialized in case the for loop on line 5 is not entered. Are you sure this can never be the case?
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like i should be capitalized.
Loading history...
introduced by
This code is unreachable and can thus be removed without consequences.
Loading history...
Unused Code introduced by
The parameter n is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Complexity Best Practice introduced by
There is no return statement if n is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable a seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable Zt seems to be never declared. If this is a global, consider adding a /** global: Zt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable Qt seems to be never declared. If this is a global, consider adding a /** global: Qt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Complexity Best Practice introduced by
There is no return statement if --t < 1 is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable w does not seem to be initialized in case d on line 5 is false. Are you sure the function U handles undefined variables?
Loading history...
Bug introduced by
The variable y seems to not be initialized for all possible execution paths.
Loading history...
introduced by
The for loop does not have a body. Maybe you have misplaced a semicolon. If you do wish to have a loop without a body, use an empty body {}.
Loading history...
Complexity introduced by
A for in loop automatically includes the property of any prototype object, consider checking the key using hasOwnProperty.

When iterating over the keys of an object, this includes not only the keys of the object, but also keys contained in the prototype of that object. It is generally a best practice to check for these keys specifically:

var someObject;
for (var key in someObject) {
    if ( ! someObject.hasOwnProperty(key)) {
        continue; // Skip keys from the prototype.
    }

    doSomethingWith(key);
}
Loading history...
Unused Code introduced by
The parameter i is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Comprehensibility introduced by
There is no default case in this switch, so nothing gets returned when all cases fail. You might want to consider adding a default or return undefined explicitly.
Loading history...
Bug introduced by
The variable Yt seems to be never declared. If this is a global, consider adding a /** global: Yt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Complexity Best Practice introduced by
There is no return statement if !h.has(e) && p === t || n(p, t, r, i, o) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable te seems to be never declared. If this is a global, consider adding a /** global: te */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable u seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable Pt seems to be never declared. If this is a global, consider adding a /** global: Pt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
6
return g===G?v:u(Af())}function f(){var t=Af(),n=s(t);if(h=arguments,p=this,m=t,n){if(g===G)return i(m);if(_)return g=tf(a,e),r(m)}return g===G&&(g=tf(a,e)),v}var h,p,d,v,g,m,y=0,b=!1,_=!1,w=!0;if("function"!=typeof t)throw new Fc(tt);return e=nu(e)||0,La(n)&&(b=!!n.leading,_="maxWait"in n,d=_?gl(nu(n.maxWait)||0,e):d,w="trailing"in n?!!n.trailing:w),f.cancel=c,f.flush=l,f}function aa(t){return Ji(t,ht)}function ua(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new Fc(tt);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new(ua.Cache||Ke),n}function ca(t){if("function"!=typeof t)throw new Fc(tt);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function la(t){return ra(2,t)}function fa(t,e){if("function"!=typeof t)throw new Fc(tt);return e=e===G?e:tu(e),zr(t,e)}function ha(t,e){if("function"!=typeof t)throw new Fc(tt);return e=e===G?0:gl(tu(e),0),zr(function(n){var r=n[e],i=fi(n,0,e);return r&&g(i,r),a(t,this,i)})}function pa(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Fc(tt);return La(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),sa(t,e,{leading:r,maxWait:e,trailing:i})}function da(t){return na(t,1)}function va(t,e){return e=null==e?uc:e,Lf(e,t)}function ga(){if(!arguments.length)return[];var t=arguments[0];return qf(t)?t:[t]}function ma(t){return Sn(t,!1,!0)}function ya(t,e){return Sn(t,!1,!0,e)}function ba(t){return Sn(t,!0,!0)}function _a(t,e){return Sn(t,!0,!0,e)}function wa(t,e){return null==e||Rn(t,e,yu(e))}function xa(t,e){return t===e||t!==t&&e!==e}function Ca(t){return Ea(t)&&Uc.call(t,"callee")&&(!rl.call(t,"callee")||Xc.call(t)==At)}function Ta(t){return null!=t&&Ra(t.length)&&!Sa(t)}function Ea(t){return Pa(t)&&Ta(t)}function $a(t){return t===!0||t===!1||Pa(t)&&Xc.call(t)==Dt}function ka(t){return!!t&&1===t.nodeType&&Pa(t)&&!Ua(t)}function Na(t){if(Ta(t)&&(qf(t)||Qa(t)||Sa(t.splice)||Ca(t)||Mf(t)))return!t.length;if(Pa(t)){var e=Gl(t);if(e==Pt||e==Vt)return!t.size}var n=xo(t);for(var r in t)if(Uc.call(t,r)&&(!n||"constructor"!=r))return!1;return!(jl&&vl(t).length)}function Oa(t,e){return br(t,e)}function Aa(t,e,n){n="function"==typeof n?n:G;var r=n?n(t,e):G;return r===G?br(t,e,n):!!r}function ja(t){return!!Pa(t)&&(Xc.call(t)==It||"string"==typeof t.message&&"string"==typeof t.name)}function Da(t){return"number"==typeof t&&pl(t)}function Sa(t){var e=La(t)?Xc.call(t):"";return e==Rt||e==Lt}function Ia(t){return"number"==typeof t&&t==tu(t)}function Ra(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Ct}function La(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Pa(t){return!!t&&"object"==typeof t}function Fa(t,e){return t===e||xr(t,e,oo(e))}function Ha(t,e,n){return n="function"==typeof n?n:G,xr(t,e,oo(e),n)}function Wa(t){return Ba(t)&&t!=+t}function qa(t){if(Zl(t))throw new Rc("This method is not supported with core-js. Try https://github.com/es-shims.");return Cr(t)}function Va(t){return null===t}function Ma(t){return null==t}function Ba(t){return"number"==typeof t||Pa(t)&&Xc.call(t)==Ft}function Ua(t){if(!Pa(t)||Xc.call(t)!=Ht||q(t))return!1;var e=tl(t);if(null===e)return!0;var n=Uc.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Bc.call(n)==Qc}function za(t){return Ia(t)&&t>=-Ct&&t<=Ct}function Qa(t){return"string"==typeof t||!qf(t)&&Pa(t)&&Xc.call(t)==Mt}function Xa(t){return"symbol"==typeof t||Pa(t)&&Xc.call(t)==Bt}function Ja(t){return t===G}function Ya(t){return Pa(t)&&Gl(t)==Ut}function Ga(t){return Pa(t)&&Xc.call(t)==zt}function Za(t){if(!t)return[];if(Ta(t))return Qa(t)?J(t):Ti(t);if(el&&t[el])return V(t[el]());var e=Gl(t),n=e==Pt?M:e==Vt?z:ju;return n(t)}function Ka(t){if(!t)return 0===t?t:0;if(t=nu(t),t===xt||t===-xt){var e=t<0?-1:1;return e*Tt}return t===t?t:0}function tu(t){var e=Ka(t),n=e%1;return e===e?n?e-n:e:0}function eu(t){return t?En(tu(t),0,$t):0}function nu(t){if("number"==typeof t)return t;if(Xa(t))return Et;if(La(t)){var e=Sa(t.valueOf)?t.valueOf():t;t=La(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(_e,"");var n=De.test(t);return n||Ie.test(t)?Fn(t.slice(2),n?2:8):je.test(t)?Et:+t}function ru(t){return Ei(t,bu(t))}function iu(t){return En(tu(t),-Ct,Ct)}function ou(t){return null==t?"":ti(t)}function su(t,e){var n=Ln(t);return e?wn(n,e):n}function au(t,e){return _(t,ro(e,3),ir)}function uu(t,e){return _(t,ro(e,3),or)}function cu(t,e){return null==t?t:Ml(t,ro(e,3),bu)}function lu(t,e){return null==t?t:Bl(t,ro(e,3),bu)}function fu(t,e){return t&&ir(t,ro(e,3))}function hu(t,e){return t&&or(t,ro(e,3))}function pu(t){return null==t?[]:sr(t,yu(t))}function du(t){return null==t?[]:sr(t,bu(t))}function vu(t,e,n){var r=null==t?G:ar(t,e);return r===G?n:r}function gu(t,e){return null!=t&&co(t,e,fr)}function mu(t,e){return null!=t&&co(t,e,hr)}function yu(t){return Ta(t)?vn(t):Nr(t)}function bu(t){return Ta(t)?vn(t,!0):Or(t)}function _u(t,e){var n={};return e=ro(e,3),ir(t,function(t,r,i){n[e(t,r,i)]=t}),n}function wu(t,e){var n={};return e=ro(e,3),ir(t,function(t,r,i){n[r]=e(t,r,i)}),n}function xu(t,e){return Cu(t,ca(ro(e)))}function Cu(t,e){return null==t?{}:Hr(t,to(t),ro(e))}function Tu(t,e,n){e=yo(e,t)?[e]:li(e);var r=-1,i=e.length;for(i||(t=G,i=1);++r<i;){var o=null==t?G:t[Ao(e[r])];o===G&&(r=i,o=n),t=Sa(o)?o.call(t):o}return t}function Eu(t,e,n){return null==t?t:Qr(t,e,n)}function $u(t,e,n,r){return r="function"==typeof r?r:G,null==t?t:Qr(t,e,n,r)}function ku(t,e,n){var r=qf(t)||Xf(t);if(e=ro(e,4),null==n)if(r||La(t)){var i=t.constructor;n=r?qf(t)?new i:[]:Sa(i)?Ln(tl(t)):{}}else n={};return(r?c:ir)(t,function(t,r,i){return e(n,t,r,i)}),n}function Nu(t,e){return null==t||ni(t,e)}function Ou(t,e,n){return null==t?t:ri(t,e,ci(n))}function Au(t,e,n,r){return r="function"==typeof r?r:G,null==t?t:ri(t,e,ci(n),r)}function ju(t){return t?I(t,yu(t)):[]}function Du(t){return null==t?[]:I(t,bu(t))}function Su(t,e,n){return n===G&&(n=e,e=G),n!==G&&(n=nu(n),n=n===n?n:0),e!==G&&(e=nu(e),e=e===e?e:0),En(nu(t),e,n)}function Iu(t,e,n){return e=Ka(e),n===G?(n=e,e=0):n=Ka(n),t=nu(t),pr(t,e,n)}function Ru(t,e,n){if(n&&"boolean"!=typeof n&&mo(t,e,n)&&(e=n=G),n===G&&("boolean"==typeof e?(n=e,e=G):"boolean"==typeof t&&(n=t,t=G)),t===G&&e===G?(t=0,e=1):(t=Ka(t),e===G?(e=t,t=0):e=Ka(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=bl();return ml(t+i*(e-t+Pn("1e-"+((i+"").length-1))),e)}return Mr(t,e)}function Lu(t){return _h(ou(t).toLowerCase())}function Pu(t){return t=ou(t),t&&t.replace(Le,Kn).replace(Tn,"")}function Fu(t,e,n){t=ou(t),e=ti(e);var r=t.length;n=n===G?r:En(tu(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function Hu(t){return t=ou(t),t&&le.test(t)?t.replace(ue,tr):t}function Wu(t){return t=ou(t),t&&be.test(t)?t.replace(ye,"\\$&"):t}function qu(t,e,n){t=ou(t),e=tu(e);var r=e?X(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Vi(ll(i),n)+t+Vi(cl(i),n)}function Vu(t,e,n){t=ou(t),e=tu(e);var r=e?X(t):0;return e&&r<e?t+Vi(e-r,n):t}function Mu(t,e,n){t=ou(t),e=tu(e);var r=e?X(t):0;return e&&r<e?Vi(e-r,n)+t:t}function Bu(t,e,n){return n||null==e?e=0:e&&(e=+e),t=ou(t).replace(_e,""),yl(t,e||(Ae.test(t)?16:10))}function Uu(t,e,n){return e=(n?mo(t,e,n):e===G)?1:tu(e),Ur(ou(t),e)}function zu(){var t=arguments,e=ou(t[0]);return t.length<3?e:_l.call(e,t[1],t[2])}function Qu(t,e,n){return n&&"number"!=typeof n&&mo(t,e,n)&&(e=n=G),(n=n===G?$t:n>>>0)?(t=ou(t),t&&("string"==typeof e||null!=e&&!zf(e))&&(e=ti(e),""==e&&kn.test(t))?fi(J(t),0,n):xl.call(t,e,n)):[]}function Xu(t,e,n){return t=ou(t),n=En(tu(n),0,t.length),e=ti(e),t.slice(n,n+e.length)==e}function Ju(t,n,r){var i=e.templateSettings;r&&mo(t,n,r)&&(n=G),t=ou(t),n=Kf({},n,i,gn);var o,s,a=Kf({},n.imports,i.imports,gn),u=yu(a),c=I(a,u),l=0,f=n.interpolate||Pe,h="__p += '",p=Pc((n.escape||Pe).source+"|"+f.source+"|"+(f===pe?Ne:Pe).source+"|"+(n.evaluate||Pe).source+"|$","g"),d="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++An+"]")+"\n";t.replace(p,function(e,n,r,i,a,u){return r||(r=i),h+=t.slice(l,u).replace(Fe,H),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),a&&(s=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+e.length,e}),h+="';\n";var v=n.variable;v||(h="with (obj) {\n"+h+"\n}\n"),h=(s?h.replace(ie,""):h).replace(oe,"$1").replace(se,"$1;"),h="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=wh(function(){return Function(u,d+"return "+h).apply(G,c)});if(g.source=h,ja(g))throw g;return g}function Yu(t){return ou(t).toLowerCase()}function Gu(t){return ou(t).toUpperCase()}function Zu(t,e,n){if(t=ou(t),t&&(n||e===G))return t.replace(_e,"");if(!t||!(e=ti(e)))return t;var r=J(t),i=J(e),o=L(r,i),s=P(r,i)+1;return fi(r,o,s).join("")}function Ku(t,e,n){if(t=ou(t),t&&(n||e===G))return t.replace(xe,"");if(!t||!(e=ti(e)))return t;var r=J(t),i=P(r,J(e))+1;return fi(r,0,i).join("")}function tc(t,e,n){if(t=ou(t),t&&(n||e===G))return t.replace(we,"");if(!t||!(e=ti(e)))return t;var r=J(t),i=L(r,J(e));return fi(r,i).join("")}function ec(t,e){var n=vt,r=gt;if(La(e)){var i="separator"in e?e.separator:i;n="length"in e?tu(e.length):n,r="omission"in e?ti(e.omission):r}t=ou(t);var o=t.length;if(kn.test(t)){var s=J(t);o=s.length}if(n>=o)return t;var a=n-X(r);if(a<1)return r;var u=s?fi(s,0,a).join(""):t.slice(0,a);if(i===G)return u+r;if(s&&(a+=u.length-a),zf(i)){if(t.slice(a).search(i)){var c,l=u;for(i.global||(i=Pc(i.source,ou(Oe.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var f=c.index;u=u.slice(0,f===G?a:f)}}else if(t.indexOf(ti(i),a)!=a){var h=u.lastIndexOf(i);h>-1&&(u=u.slice(0,h))}return u+r}function nc(t){return t=ou(t),t&&ce.test(t)?t.replace(ae,er):t}function rc(t,e,n){return t=ou(t),e=n?G:e,e===G&&(e=Nn.test(t)?$n:$e),t.match(e)||[]}function ic(t){var e=t?t.length:0,n=ro();return t=e?v(t,function(t){if("function"!=typeof t[1])throw new Fc(tt);return[n(t[0]),t[1]]}):[],zr(function(n){for(var r=this,i=-1;++i<e;){var o=t[i];if(a(o[0],r,n))return a(o[1],r,n)}})}function oc(t){return In(Sn(t,!0))}function sc(t){return function(){return t}}function ac(t,e){return null==t||t!==t?e:t}function uc(t){return t}function cc(t){return kr("function"==typeof t?t:Sn(t,!0))}function lc(t){return Dr(Sn(t,!0))}function fc(t,e){return Sr(t,Sn(e,!0))}function hc(t,e,n){var r=yu(e),i=sr(e,r);null!=n||La(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=sr(e,yu(e)));var o=!(La(n)&&"chain"in n&&!n.chain),s=Sa(t);return c(i,function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Ti(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,g([this.value()],arguments))})}),t}function pc(){return qn._===this&&(qn._=Jc),this}function dc(){}function vc(t){return t=tu(t),zr(function(e){return Lr(e,t)})}function gc(t){return yo(t)?$(Ao(t)):Wr(t)}function mc(t){return function(e){return null==t?G:ar(t,e)}}function yc(){return[]}function bc(){return!1}function _c(){return{}}function wc(){return""}function xc(){return!0}function Cc(t,e){if(t=tu(t),t<1||t>Ct)return[];var n=$t,r=ml(t,$t);e=ro(e),t-=$t;for(var i=j(r,e);++n<t;)e(n);return i}function Tc(t){return qf(t)?v(t,Ao):Xa(t)?[t]:Ti(nf(t))}function Ec(t){var e=++zc;return ou(t)+e}function $c(t){return t&&t.length?Mn(t,uc,lr):G}function kc(t,e){return t&&t.length?Mn(t,ro(e,2),lr):G}function Nc(t){return E(t,uc)}function Oc(t,e){return E(t,ro(e,2))}function Ac(t){return t&&t.length?Mn(t,uc,Ar):G}function jc(t,e){return t&&t.length?Mn(t,ro(e,2),Ar):G}function Dc(t){return t&&t.length?A(t,uc):0}function Sc(t,e){return t&&t.length?A(t,ro(e,2)):0}t=t?nr.defaults({},t,nr.pick(qn,On)):qn;var Ic=t.Array,Rc=t.Error,Lc=t.Math,Pc=t.RegExp,Fc=t.TypeError,Hc=t.Array.prototype,Wc=t.Object.prototype,qc=t.String.prototype,Vc=t["__core-js_shared__"],Mc=function(){var t=/[^.]+$/.exec(Vc&&Vc.keys&&Vc.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Bc=t.Function.prototype.toString,Uc=Wc.hasOwnProperty,zc=0,Qc=Bc.call(Object),Xc=Wc.toString,Jc=qn._,Yc=Pc("^"+Bc.call(Uc).replace(ye,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gc=Bn?t.Buffer:G,Zc=t.Symbol,Kc=t.Uint8Array,tl=B(Object.getPrototypeOf,Object),el=Zc?Zc.iterator:G,nl=t.Object.create,rl=Wc.propertyIsEnumerable,il=Hc.splice,ol=Zc?Zc.isConcatSpreadable:G,sl=t.clearTimeout!==qn.clearTimeout&&t.clearTimeout,al=t.Date&&t.Date.now!==qn.Date.now&&t.Date.now,ul=t.setTimeout!==qn.setTimeout&&t.setTimeout,cl=Lc.ceil,ll=Lc.floor,fl=Object.getOwnPropertySymbols,hl=Gc?Gc.isBuffer:G,pl=t.isFinite,dl=Hc.join,vl=B(Object.keys,Object),gl=Lc.max,ml=Lc.min,yl=t.parseInt,bl=Lc.random,_l=qc.replace,wl=Hc.reverse,xl=qc.split,Cl=so(t,"DataView"),Tl=so(t,"Map"),El=so(t,"Promise"),$l=so(t,"Set"),kl=so(t,"WeakMap"),Nl=so(t.Object,"create"),Ol=function(){var e=so(t.Object,"defineProperty"),n=so.name;return n&&n.length>2?e:G}(),Al=kl&&new kl,jl=!rl.call({valueOf:1},"valueOf"),Dl={},Sl=jo(Cl),Il=jo(Tl),Rl=jo(El),Ll=jo($l),Pl=jo(kl),Fl=Zc?Zc.prototype:G,Hl=Fl?Fl.valueOf:G,Wl=Fl?Fl.toString:G;e.templateSettings={escape:fe,evaluate:he,interpolate:pe,variable:"",imports:{_:e}},e.prototype=n.prototype,e.prototype.constructor=e,r.prototype=Ln(n.prototype),r.prototype.constructor=r,i.prototype=Ln(n.prototype),i.prototype.constructor=i,qe.prototype.clear=Ve,qe.prototype["delete"]=Me,qe.prototype.get=Be,qe.prototype.has=Ue,qe.prototype.set=ze,Qe.prototype.clear=Xe,Qe.prototype["delete"]=Je,Qe.prototype.get=Ye,Qe.prototype.has=Ge,Qe.prototype.set=Ze,Ke.prototype.clear=tn,Ke.prototype["delete"]=en,Ke.prototype.get=nn,Ke.prototype.has=rn,Ke.prototype.set=on,sn.prototype.add=sn.prototype.push=an,sn.prototype.has=un,cn.prototype.clear=ln,cn.prototype["delete"]=fn,cn.prototype.get=hn,cn.prototype.has=pn,cn.prototype.set=dn;var ql=Oi(ir),Vl=Oi(or,!0),Ml=Ai(),Bl=Ai(!0),Ul=Al?function(t,e){return Al.set(t,e),t}:uc,zl=sl||function(t){return qn.clearTimeout(t)},Ql=$l&&1/z(new $l([,-0]))[1]==xt?function(t){return new $l(t)}:dc,Xl=Al?function(t){return Al.get(t)}:dc,Jl=fl?B(fl,Object):yc,Yl=fl?function(t){for(var e=[];t;)g(e,Jl(t)),t=tl(t);return e}:yc,Gl=cr;(Cl&&Gl(new Cl(new ArrayBuffer(1)))!=Xt||Tl&&Gl(new Tl)!=Pt||El&&Gl(El.resolve())!=Wt||$l&&Gl(new $l)!=Vt||kl&&Gl(new kl)!=Ut)&&(Gl=function(t){var e=Xc.call(t),n=e==Ht?t.constructor:G,r=n?jo(n):G;if(r)switch(r){case Sl:return Xt;case Il:return Pt;case Rl:return Wt;case Ll:return Vt;case Pl:return Ut}return e});var Zl=Vc?Sa:bc,Kl=function(){var t=0,e=0;return function(n,r){var i=Af(),o=yt-(i-e);if(e=i,o>0){if(++t>=mt)return n}else t=0;return Ul(n,r)}}(),tf=ul||function(t,e){return qn.setTimeout(t,e)},ef=Ol?function(t,e,n){var r=e+"";return Ol(t,"toString",{configurable:!0,enumerable:!1,value:sc(po(r,Do(uo(r),n)))})}:uc,nf=ua(function(t){t=ou(t);var e=[];return ge.test(t)&&e.push(""),t.replace(me,function(t,n,r,i){e.push(r?i.replace(ke,"$1"):n||t)}),e}),rf=zr(function(t,e){return Ea(t)?Wn(t,rr(e,1,Ea,!0)):[]}),of=zr(function(t,e){var n=Zo(e);return Ea(n)&&(n=G),Ea(t)?Wn(t,rr(e,1,Ea,!0),ro(n,2)):[]}),sf=zr(function(t,e){var n=Zo(e);return Ea(n)&&(n=G),Ea(t)?Wn(t,rr(e,1,Ea,!0),G,n):[]}),af=zr(function(t){var e=v(t,ui);return e.length&&e[0]===t[0]?dr(e):[]}),uf=zr(function(t){var e=Zo(t),n=v(t,ui);return e===Zo(n)?e=G:n.pop(),n.length&&n[0]===t[0]?dr(n,ro(e,2)):[]}),cf=zr(function(t){var e=Zo(t),n=v(t,ui);return e===Zo(n)?e=G:n.pop(),n.length&&n[0]===t[0]?dr(n,G,e):[]}),lf=zr(es),ff=zr(function(t,e){e=rr(e,1);var n=t?t.length:0,r=xn(t,e);return Vr(t,v(e,function(t){return go(t,n)?+t:t}).sort(_i)),r}),hf=zr(function(t){return ei(rr(t,1,Ea,!0))}),pf=zr(function(t){var e=Zo(t);return Ea(e)&&(e=G),ei(rr(t,1,Ea,!0),ro(e,2))}),df=zr(function(t){var e=Zo(t);return Ea(e)&&(e=G),ei(rr(t,1,Ea,!0),G,e)}),vf=zr(function(t,e){return Ea(t)?Wn(t,e):[]}),gf=zr(function(t){return si(h(t,Ea))}),mf=zr(function(t){var e=Zo(t);return Ea(e)&&(e=G),si(h(t,Ea),ro(e,2))}),yf=zr(function(t){var e=Zo(t);return Ea(e)&&(e=G),si(h(t,Ea),G,e)}),bf=zr(Cs),_f=zr(function(t){var e=t.length,n=e>1?t[e-1]:G;return n="function"==typeof n?(t.pop(),n):G,Ts(t,n)}),wf=zr(function(t){t=rr(t,1);var e=t.length,n=e?t[0]:0,o=this.__wrapped__,s=function(e){return xn(e,t)};return!(e>1||this.__actions__.length)&&o instanceof i&&go(n)?(o=o.slice(n,+n+(e?1:0)),o.__actions__.push({func:Os,args:[s],thisArg:G}),new r(o,this.__chain__).thru(function(t){return e&&!t.length&&t.push(G),t})):this.thru(s)}),xf=ki(function(t,e,n){Uc.call(t,n)?++t[n]:t[n]=1}),Cf=Li(Vo),Tf=Li(Mo),Ef=ki(function(t,e,n){Uc.call(t,n)?t[n].push(e):t[n]=[e]}),$f=zr(function(t,e,n){var r=-1,i="function"==typeof e,o=yo(e),s=Ta(t)?Ic(t.length):[];return ql(t,function(t){var u=i?e:o&&null!=t?t[e]:G;s[++r]=u?a(u,t,n):gr(t,e,n)}),s}),kf=ki(function(t,e,n){t[n]=e}),Nf=ki(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Of=zr(function(t,e){if(null==t)return[];var n=e.length;return n>1&&mo(t,e[0],e[1])?e=[]:n>2&&mo(e[0],e[1],e[2])&&(e=[e[0]]),Pr(t,rr(e,1),[])}),Af=al||function(){return qn.Date.now()},jf=zr(function(t,e,n){var r=rt;if(n.length){var i=U(n,no(jf));r|=ut}return Ji(t,r,e,n,i)}),Df=zr(function(t,e,n){var r=rt|it;if(n.length){var i=U(n,no(Df));r|=ut}return Ji(e,r,t,n,i)}),Sf=zr(function(t,e){return Hn(t,1,e)}),If=zr(function(t,e,n){return Hn(t,nu(e)||0,n)});ua.Cache=Ke;var Rf=zr(function(t,e){e=1==e.length&&qf(e[0])?v(e[0],S(ro())):v(rr(e,1),S(ro()));var n=e.length;return zr(function(r){for(var i=this,o=-1,s=ml(r.length,n);++o<s;)r[o]=e[o].call(i,r[o]);return a(t,this,r)})}),Lf=zr(function(t,e){var n=U(e,no(Lf));return Ji(t,ut,G,e,n)}),Pf=zr(function(t,e){var n=U(e,no(Pf));return Ji(t,ct,G,e,n)}),Ff=zr(function(t,e){return Ji(t,ft,G,G,G,rr(e,1))}),Hf=Ui(lr),Wf=Ui(function(t,e){return t>=e}),qf=Ic.isArray,Vf=Qn?S(Qn):mr,Mf=hl||bc,Bf=Xn?S(Xn):yr,Uf=Jn?S(Jn):wr,zf=Yn?S(Yn):Tr,Qf=Gn?S(Gn):Er,Xf=Zn?S(Zn):$r,Jf=Ui(Ar),Yf=Ui(function(t,e){return t<=e}),Gf=Ni(function(t,e){if(jl||xo(e)||Ta(e))return void Ei(e,yu(e),t);for(var n in e)Uc.call(e,n)&&yn(t,n,e[n])}),Zf=Ni(function(t,e){Ei(e,bu(e),t)}),Kf=Ni(function(t,e,n,r){Ei(e,bu(e),t,r)}),th=Ni(function(t,e,n,r){Ei(e,yu(e),t,r)}),eh=zr(function(t,e){return xn(t,rr(e,1))}),nh=zr(function(t){return t.push(G,gn),a(Kf,G,t)}),rh=zr(function(t){return t.push(G,$o),a(uh,G,t)}),ih=Hi(function(t,e,n){t[e]=n},sc(uc)),oh=Hi(function(t,e,n){Uc.call(t,e)?t[e].push(n):t[e]=[n]},ro),sh=zr(gr),ah=Ni(function(t,e,n){Ir(t,e,n)}),uh=Ni(function(t,e,n,r){Ir(t,e,n,r)}),ch=zr(function(t,e){return null==t?{}:(e=v(rr(e,1),Ao),Fr(t,Wn(to(t),e)))}),lh=zr(function(t,e){return null==t?{}:Fr(t,v(rr(e,1),Ao))}),fh=Xi(yu),hh=Xi(bu),ph=Si(function(t,e,n){return e=e.toLowerCase(),t+(n?Lu(e):e)}),dh=Si(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),vh=Si(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),gh=Di("toLowerCase"),mh=Si(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),yh=Si(function(t,e,n){return t+(n?" ":"")+_h(e)}),bh=Si(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),_h=Di("toUpperCase"),wh=zr(function(t,e){try{return a(t,G,e)}catch(n){return ja(n)?n:new Rc(n)}}),xh=zr(function(t,e){return c(rr(e,1),function(e){e=Ao(e),t[e]=jf(t[e],t)}),t}),Ch=Pi(),Th=Pi(!0),Eh=zr(function(t,e){return function(n){return gr(n,t,e)}}),$h=zr(function(t,e){return function(n){return gr(t,n,e)}}),kh=qi(v),Nh=qi(f),Oh=qi(b),Ah=Bi(),jh=Bi(!0),Dh=Wi(function(t,e){return t+e},0),Sh=Qi("ceil"),Ih=Wi(function(t,e){return t/e},1),Rh=Qi("floor"),Lh=Wi(function(t,e){return t*e},1),Ph=Qi("round"),Fh=Wi(function(t,e){return t-e},0);return e.after=ea,e.ary=na,e.assign=Gf,e.assignIn=Zf,e.assignInWith=Kf,e.assignWith=th,e.at=eh,e.before=ra,e.bind=jf,e.bindAll=xh,e.bindKey=Df,e.castArray=ga,e.chain=ks,e.chunk=Io,e.compact=Ro,e.concat=Lo,e.cond=ic,e.conforms=oc,e.constant=sc,e.countBy=xf,e.create=su,e.curry=ia,e.curryRight=oa,e.debounce=sa,e.defaults=nh,e.defaultsDeep=rh,e.defer=Sf,e.delay=If,e.difference=rf,e.differenceBy=of,e.differenceWith=sf,e.drop=Po,e.dropRight=Fo,e.dropRightWhile=Ho,e.dropWhile=Wo,e.fill=qo,e.filter=Fs,e.flatMap=Hs,e.flatMapDeep=Ws,e.flatMapDepth=qs,e.flatten=Bo,e.flattenDeep=Uo,e.flattenDepth=zo,e.flip=aa,e.flow=Ch,e.flowRight=Th,e.fromPairs=Qo,e.functions=pu,e.functionsIn=du,e.groupBy=Ef,e.initial=Yo,e.intersection=af,e.intersectionBy=uf,e.intersectionWith=cf,e.invert=ih,e.invertBy=oh,e.invokeMap=$f,e.iteratee=cc,e.keyBy=kf,e.keys=yu,e.keysIn=bu,e.map=Us,e.mapKeys=_u,e.mapValues=wu,e.matches=lc,e.matchesProperty=fc,e.memoize=ua,e.merge=ah,e.mergeWith=uh,e.method=Eh,e.methodOf=$h,e.mixin=hc,e.negate=ca,e.nthArg=vc,e.omit=ch,e.omitBy=xu,e.once=la,e.orderBy=zs,e.over=kh,e.overArgs=Rf,e.overEvery=Nh,e.overSome=Oh,e.partial=Lf,e.partialRight=Pf,e.partition=Nf,e.pick=lh,e.pickBy=Cu,e.property=gc,e.propertyOf=mc,e.pull=lf,e.pullAll=es,e.pullAllBy=ns,e.pullAllWith=rs,e.pullAt=ff,e.range=Ah,e.rangeRight=jh,e.rearg=Ff,e.reject=Js,e.remove=is,e.rest=fa,e.reverse=os,e.sampleSize=Gs,e.set=Eu,e.setWith=$u,e.shuffle=Zs,e.slice=ss,e.sortBy=Of,e.sortedUniq=ps,e.sortedUniqBy=ds,e.split=Qu,e.spread=ha,e.tail=vs,e.take=gs,e.takeRight=ms,e.takeRightWhile=ys,e.takeWhile=bs,e.tap=Ns,e.throttle=pa,e.thru=Os,e.toArray=Za,e.toPairs=fh,e.toPairsIn=hh,e.toPath=Tc,e.toPlainObject=ru,e.transform=ku,e.unary=da,e.union=hf,e.unionBy=pf,e.unionWith=df,e.uniq=_s,e.uniqBy=ws,e.uniqWith=xs,e.unset=Nu,e.unzip=Cs,e.unzipWith=Ts,e.update=Ou,e.updateWith=Au,e.values=ju,e.valuesIn=Du,e.without=vf,e.words=rc,e.wrap=va,e.xor=gf,e.xorBy=mf,e.xorWith=yf,e.zip=bf,e.zipObject=Es,e.zipObjectDeep=$s,e.zipWith=_f,e.entries=fh,e.entriesIn=hh,e.extend=Zf,e.extendWith=Kf,hc(e,e),e.add=Dh,e.attempt=wh,e.camelCase=ph,e.capitalize=Lu,e.ceil=Sh,e.clamp=Su,e.clone=ma,e.cloneDeep=ba,e.cloneDeepWith=_a,e.cloneWith=ya,e.conformsTo=wa,e.deburr=Pu,e.defaultTo=ac,e.divide=Ih,e.endsWith=Fu,e.eq=xa,e.escape=Hu,e.escapeRegExp=Wu,e.every=Ps,e.find=Cf,e.findIndex=Vo,e.findKey=au,e.findLast=Tf,e.findLastIndex=Mo,e.findLastKey=uu,e.floor=Rh,e.forEach=Vs,e.forEachRight=Ms,e.forIn=cu,e.forInRight=lu,e.forOwn=fu,e.forOwnRight=hu,e.get=vu,e.gt=Hf,e.gte=Wf,e.has=gu,e.hasIn=mu,e.head=Xo,e.identity=uc,e.includes=Bs,e.indexOf=Jo,e.inRange=Iu,e.invoke=sh,e.isArguments=Ca,e.isArray=qf,e.isArrayBuffer=Vf,e.isArrayLike=Ta,e.isArrayLikeObject=Ea,e.isBoolean=$a,e.isBuffer=Mf,e.isDate=Bf,e.isElement=ka,e.isEmpty=Na,e.isEqual=Oa,e.isEqualWith=Aa,e.isError=ja,e.isFinite=Da,e.isFunction=Sa,e.isInteger=Ia,e.isLength=Ra,e.isMap=Uf,e.isMatch=Fa,e.isMatchWith=Ha,e.isNaN=Wa,e.isNative=qa,e.isNil=Ma,e.isNull=Va,e.isNumber=Ba,e.isObject=La,e.isObjectLike=Pa,e.isPlainObject=Ua,e.isRegExp=zf,e.isSafeInteger=za,e.isSet=Qf,e.isString=Qa,e.isSymbol=Xa,e.isTypedArray=Xf,e.isUndefined=Ja,e.isWeakMap=Ya,e.isWeakSet=Ga,e.join=Go,e.kebabCase=dh,e.last=Zo,e.lastIndexOf=Ko,e.lowerCase=vh,e.lowerFirst=gh,e.lt=Jf,e.lte=Yf,e.max=$c,e.maxBy=kc,e.mean=Nc,e.meanBy=Oc,e.min=Ac,e.minBy=jc,e.stubArray=yc,e.stubFalse=bc,e.stubObject=_c,e.stubString=wc,e.stubTrue=xc,e.multiply=Lh,e.nth=ts,e.noConflict=pc,e.noop=dc,e.now=Af,e.pad=qu,e.padEnd=Vu,e.padStart=Mu,e.parseInt=Bu,e.random=Ru,e.reduce=Qs,e.reduceRight=Xs,e.repeat=Uu,e.replace=zu,e.result=Tu,e.round=Ph,e.runInContext=Y,e.sample=Ys,e.size=Ks,e.snakeCase=mh,e.some=ta,e.sortedIndex=as,e.sortedIndexBy=us,e.sortedIndexOf=cs,e.sortedLastIndex=ls,e.sortedLastIndexBy=fs,e.sortedLastIndexOf=hs,e.startCase=yh,e.startsWith=Xu,e.subtract=Fh,e.sum=Dc,e.sumBy=Sc,e.template=Ju,e.times=Cc,e.toFinite=Ka,e.toInteger=tu,e.toLength=eu,e.toLower=Yu,e.toNumber=nu,e.toSafeInteger=iu,e.toString=ou,e.toUpper=Gu,e.trim=Zu,e.trimEnd=Ku,e.trimStart=tc,e.truncate=ec,e.unescape=nc,e.uniqueId=Ec,e.upperCase=bh,e.upperFirst=_h,e.each=Vs,e.eachRight=Ms,e.first=Xo,hc(e,function(){var t={};return ir(e,function(n,r){Uc.call(e.prototype,r)||(t[r]=n)}),t}(),{chain:!1}),e.VERSION=Z,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){e[t].placeholder=e}),c(["drop","take"],function(t,e){i.prototype[t]=function(n){var r=this.__filtered__;if(r&&!e)return new i(this);n=n===G?1:gl(tu(n),0);var o=this.clone();return r?o.__takeCount__=ml(n,o.__takeCount__):o.__views__.push({size:ml(n,$t),type:t+(o.__dir__<0?"Right":"")}),o},i.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),c(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==bt||n==wt;i.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:ro(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),c(["head","last"],function(t,e){var n="take"+(e?"Right":"");i.prototype[t]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");i.prototype[t]=function(){return this.__filtered__?new i(this):this[n](1)}}),i.prototype.compact=function(){return this.filter(uc)},i.prototype.find=function(t){return this.filter(t).head()},i.prototype.findLast=function(t){return this.reverse().find(t)},i.prototype.invokeMap=zr(function(t,e){return"function"==typeof t?new i(this):this.map(function(n){return gr(n,t,e)})}),i.prototype.reject=function(t){return this.filter(ca(ro(t)))},i.prototype.slice=function(t,e){t=tu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new i(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==G&&(e=tu(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},i.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},i.prototype.toArray=function(){return this.take($t)},ir(i.prototype,function(t,n){var o=/^(?:filter|find|map|reject)|While$/.test(n),s=/^(?:head|last)$/.test(n),a=e[s?"take"+("last"==n?"Right":""):n],u=s||/^find/.test(n);a&&(e.prototype[n]=function(){var n=this.__wrapped__,c=s?[1]:arguments,l=n instanceof i,f=c[0],h=l||qf(n),p=function(t){var n=a.apply(e,g([t],c));return s&&d?n[0]:n};h&&o&&"function"==typeof f&&1!=f.length&&(l=h=!1);var d=this.__chain__,v=!!this.__actions__.length,m=u&&!d,y=l&&!v;if(!u&&h){n=y?n:new i(this);var b=t.apply(n,c);return b.__actions__.push({func:Os,args:[p],thisArg:G}),new r(b,d)}return m&&y?t.apply(this,c):(b=this.thru(p),m?s?b.value()[0]:b.value():b)})}),c(["pop","push","shift","sort","splice","unshift"],function(t){var n=Hc[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);e.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var e=this.value();return n.apply(qf(e)?e:[],t)}return this[r](function(e){return n.apply(qf(e)?e:[],t)})}}),ir(i.prototype,function(t,n){var r=e[n];if(r){var i=r.name+"",o=Dl[i]||(Dl[i]=[]);o.push({name:n,func:r})}}),Dl[Fi(G,it).name]=[{name:"wrapper",func:G}],i.prototype.clone=k,i.prototype.reverse=He,i.prototype.value=We,e.prototype.at=wf,e.prototype.chain=As,e.prototype.commit=js,e.prototype.next=Ds,e.prototype.plant=Is,e.prototype.reverse=Rs,e.prototype.toJSON=e.prototype.valueOf=e.prototype.value=Ls,e.prototype.first=e.prototype.head,el&&(e.prototype[el]=Ss),e}var G,Z="4.14.2",K=200,tt="Expected a function",et="__lodash_hash_undefined__",nt="__lodash_placeholder__",rt=1,it=2,ot=4,st=8,at=16,ut=32,ct=64,lt=128,ft=256,ht=512,pt=1,dt=2,vt=30,gt="...",mt=150,yt=16,bt=1,_t=2,wt=3,xt=1/0,Ct=9007199254740991,Tt=1.7976931348623157e308,Et=NaN,$t=4294967295,kt=$t-1,Nt=$t>>>1,Ot=[["ary",lt],["bind",rt],["bindKey",it],["curry",st],["curryRight",at],["flip",ht],["partial",ut],["partialRight",ct],["rearg",ft]],At="[object Arguments]",jt="[object Array]",Dt="[object Boolean]",St="[object Date]",It="[object Error]",Rt="[object Function]",Lt="[object GeneratorFunction]",Pt="[object Map]",Ft="[object Number]",Ht="[object Object]",Wt="[object Promise]",qt="[object RegExp]",Vt="[object Set]",Mt="[object String]",Bt="[object Symbol]",Ut="[object WeakMap]",zt="[object WeakSet]",Qt="[object ArrayBuffer]",Xt="[object DataView]",Jt="[object Float32Array]",Yt="[object Float64Array]",Gt="[object Int8Array]",Zt="[object Int16Array]",Kt="[object Int32Array]",te="[object Uint8Array]",ee="[object Uint8ClampedArray]",ne="[object Uint16Array]",re="[object Uint32Array]",ie=/\b__p \+= '';/g,oe=/\b(__p \+=) '' \+/g,se=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ae=/&(?:amp|lt|gt|quot|#39|#96);/g,ue=/[&<>"'`]/g,ce=RegExp(ae.source),le=RegExp(ue.source),fe=/<%-([\s\S]+?)%>/g,he=/<%([\s\S]+?)%>/g,pe=/<%=([\s\S]+?)%>/g,de=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ve=/^\w*$/,ge=/^\./,me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ye=/[\\^$.*+?()[\]{}|]/g,be=RegExp(ye.source),_e=/^\s+|\s+$/g,we=/^\s+/,xe=/\s+$/,Ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Te=/\{\n\/\* \[wrapped with (.+)\] \*/,Ee=/,? & /,$e=/[a-zA-Z0-9]+/g,ke=/\\(\\)?/g,Ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Oe=/\w*$/,Ae=/^0x/i,je=/^[-+]0x[0-9a-f]+$/i,De=/^0b[01]+$/i,Se=/^\[object .+?Constructor\]$/,Ie=/^0o[0-7]+$/i,Re=/^(?:0|[1-9]\d*)$/,Le=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Pe=/($^)/,Fe=/['\n\r\u2028\u2029\\]/g,He="\\ud800-\\udfff",We="\\u0300-\\u036f\\ufe20-\\ufe23",qe="\\u20d0-\\u20f0",Ve="\\u2700-\\u27bf",Me="a-z\\xdf-\\xf6\\xf8-\\xff",Be="\\xac\\xb1\\xd7\\xf7",Ue="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ze="\\u2000-\\u206f",Qe=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xe="A-Z\\xc0-\\xd6\\xd8-\\xde",Je="\\ufe0e\\ufe0f",Ye=Be+Ue+ze+Qe,Ge="['’]",Ze="["+He+"]",Ke="["+Ye+"]",tn="["+We+qe+"]",en="\\d+",nn="["+Ve+"]",rn="["+Me+"]",on="[^"+He+Ye+en+Ve+Me+Xe+"]",sn="\\ud83c[\\udffb-\\udfff]",an="(?:"+tn+"|"+sn+")",un="[^"+He+"]",cn="(?:\\ud83c[\\udde6-\\uddff]){2}",ln="[\\ud800-\\udbff][\\udc00-\\udfff]",fn="["+Xe+"]",hn="\\u200d",pn="(?:"+rn+"|"+on+")",dn="(?:"+fn+"|"+on+")",vn="(?:"+Ge+"(?:d|ll|m|re|s|t|ve))?",gn="(?:"+Ge+"(?:D|LL|M|RE|S|T|VE))?",mn=an+"?",yn="["+Je+"]?",bn="(?:"+hn+"(?:"+[un,cn,ln].join("|")+")"+yn+mn+")*",_n=yn+mn+bn,wn="(?:"+[nn,cn,ln].join("|")+")"+_n,xn="(?:"+[un+tn+"?",tn,cn,ln,Ze].join("|")+")",Cn=RegExp(Ge,"g"),Tn=RegExp(tn,"g"),En=RegExp(sn+"(?="+sn+")|"+xn+_n,"g"),$n=RegExp([fn+"?"+rn+"+"+vn+"(?="+[Ke,fn,"$"].join("|")+")",dn+"+"+gn+"(?="+[Ke,fn+pn,"$"].join("|")+")",fn+"?"+pn+"+"+vn,fn+"+"+gn,en,wn].join("|"),"g"),kn=RegExp("["+hn+He+We+qe+Je+"]"),Nn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,On=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],An=-1,jn={};jn[Jt]=jn[Yt]=jn[Gt]=jn[Zt]=jn[Kt]=jn[te]=jn[ee]=jn[ne]=jn[re]=!0,jn[At]=jn[jt]=jn[Qt]=jn[Dt]=jn[Xt]=jn[St]=jn[It]=jn[Rt]=jn[Pt]=jn[Ft]=jn[Ht]=jn[qt]=jn[Vt]=jn[Mt]=jn[Ut]=!1;var Dn={};Dn[At]=Dn[jt]=Dn[Qt]=Dn[Xt]=Dn[Dt]=Dn[St]=Dn[Jt]=Dn[Yt]=Dn[Gt]=Dn[Zt]=Dn[Kt]=Dn[Pt]=Dn[Ft]=Dn[Ht]=Dn[qt]=Dn[Vt]=Dn[Mt]=Dn[Bt]=Dn[te]=Dn[ee]=Dn[ne]=Dn[re]=!0,Dn[It]=Dn[Rt]=Dn[Ut]=!1;var Sn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},In={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Rn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},Ln={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Pn=parseFloat,Fn=parseInt,Hn="object"==typeof t&&t&&t.Object===Object&&t,Wn="object"==typeof self&&self&&self.Object===Object&&self,qn=Hn||Wn||Function("return this")(),Vn="object"==typeof e&&e&&!e.nodeType&&e,Mn=Vn&&"object"==typeof r&&r&&!r.nodeType&&r,Bn=Mn&&Mn.exports===Vn,Un=Bn&&Hn.process,zn=function(){
0 ignored issues
show
Unused Code introduced by
The variable Pl seems to be never used. Consider removing it.
Loading history...
Bug introduced by
The variable parseInt seems to be never declared. If this is a global, consider adding a /** global: parseInt */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Best Practice introduced by
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
Performance Best Practice introduced by
Using new Function() to create a function is slow and difficult to debug. Such functions do not create a closure. Consider using another way to define your function.
Loading history...
Bug introduced by
The variable Ll seems to be never declared. If this is a global, consider adding a /** global: Ll */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Coding Style introduced by
As per coding-style, switch statements should have a default case.
Loading history...
Bug introduced by
The variable parseFloat seems to be never declared. If this is a global, consider adding a /** global: parseFloat */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable i does not seem to be initialized in case La(e) on line 6 is false. Are you sure this can never be the case?
Loading history...
Unused Code introduced by
The variable Rl seems to be never used. Consider removing it.
Loading history...
Unused Code introduced by
The variable Ll seems to be never used. Consider removing it.
Loading history...
introduced by
There are two consecutive commas which insert an implicit undefined value. If this is indeed intended, consider adding undefined explicitly like so , undefined,.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like r should be capitalized.
Loading history...
Bug introduced by
The variable G seems to be never initialized.
Loading history...
Unused Code introduced by
The variable Il seems to be never used. Consider removing it.
Loading history...
Best Practice introduced by
If you intend to check if the variable self is declared in the current environment, consider using typeof self === "undefined" instead. This is safe if the variable is not actually declared.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like i should be capitalized.
Loading history...
Bug introduced by
The variable f seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable Rl seems to be never declared. If this is a global, consider adding a /** global: Rl */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Comprehensibility Best Practice introduced by
You seem to be aliasing the built-in name NaN as Et. This makes your code very difficult to follow, consider using the built-in name directly.
Loading history...
Bug introduced by
The variable i does not seem to be initialized in case n.length on line 6 is false. Are you sure the function Ji handles undefined variables?
Loading history...
Bug introduced by
The variable Il seems to be never declared. If this is a global, consider adding a /** global: Il */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable Sl seems to be never declared. If this is a global, consider adding a /** global: Sl */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Unused Code introduced by
The variable Sl seems to be never used. Consider removing it.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like kl should be capitalized.
Loading history...
Bug introduced by
The variable i seems to be never initialized.
Loading history...
Bug introduced by
The variable d seems to be never initialized.
Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
Complexity introduced by
A for in loop automatically includes the property of any prototype object, consider checking the key using hasOwnProperty.

When iterating over the keys of an object, this includes not only the keys of the object, but also keys contained in the prototype of that object. It is generally a best practice to check for these keys specifically:

var someObject;
for (var key in someObject) {
    if ( ! someObject.hasOwnProperty(key)) {
        continue; // Skip keys from the prototype.
    }

    doSomethingWith(key);
}
Loading history...
Bug introduced by
The variable Pl seems to be never declared. If this is a global, consider adding a /** global: Pl */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
7
try{return Un&&Un.binding("util")}catch(t){}}(),Qn=zn&&zn.isArrayBuffer,Xn=zn&&zn.isDate,Jn=zn&&zn.isMap,Yn=zn&&zn.isRegExp,Gn=zn&&zn.isSet,Zn=zn&&zn.isTypedArray,Kn=k(Sn),tr=k(In),er=k(Rn),nr=Y();qn._=nr,i=function(){return nr}.call(e,n,e,r),!(i!==G&&(r.exports=i))}).call(this)}).call(e,n(0),n(10)(t))},function(t,e){function n(){f&&c&&(f=!1,c.length?l=c.concat(l):h=-1,l.length&&r())}function r(){if(!f){var t=s(n);f=!0;for(var e=l.length;e;){for(c=l,l=[];++h<e;)c&&c[h].run();h=-1,e=l.length}c=null,f=!1,a(t)}}function i(t,e){this.fun=t,this.array=e}function o(){}var s,a,u=t.exports={};!function(){try{s=setTimeout}catch(t){s=function(){throw new Error("setTimeout is not defined")}}try{a=clearTimeout}catch(t){a=function(){throw new Error("clearTimeout is not defined")}}}();var c,l=[],f=!1,h=-1;u.nextTick=function(t){var e=arguments,n=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)n[o-1]=e[o];l.push(new i(t,n)),1!==l.length||f||s(r,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},u.title="browser",u.browser=!0,u.env={},u.argv=[],u.version="",u.versions={},u.on=o,u.addListener=o,u.once=o,u.off=o,u.removeListener=o,u.removeAllListeners=o,u.emit=o,u.binding=function(t){throw new Error("process.binding is not supported")},u.cwd=function(){return"/"},u.chdir=function(t){throw new Error("process.chdir is not supported")},u.umask=function(){return 0}},function(t,e){"use strict";function n(t){this.state=et,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(n){e.reject(n)}}function r(t,e){t instanceof rt?this.promise=t:this.promise=new rt(t.bind(e)),this.context=e}function i(t){st=t.util,ot=t.config.debug||!t.config.silent}function o(t){"undefined"!=typeof console&&ot}function s(t){"undefined"!=typeof console}function a(t,e){return st.nextTick(t,e)}function u(t){return t.replace(/^\s*|\s*$/g,"")}function c(t){return"string"==typeof t}function l(t){return t===!0||t===!1}function f(t){return"function"==typeof t}function h(t){return null!==t&&"object"==typeof t}function p(t){return h(t)&&Object.getPrototypeOf(t)==Object.prototype}function d(t){return"undefined"!=typeof FormData&&t instanceof FormData}function v(t,e,n){var i=r.resolve(t);return arguments.length<2?i:i.then(e,n)}function g(t,e,n){return n=n||{},f(n)&&(n=n.call(e)),y(t.bind({$vm:e,$options:n}),t,{$options:n})}function m(t,e){var n,r;if("number"==typeof t.length)for(n=0;n<t.length;n++)e.call(t[n],t[n],n);else if(h(t))for(r in t)t.hasOwnProperty(r)&&e.call(t[r],t[r],r);return t}function y(t){var e=at.slice.call(arguments,1);return e.forEach(function(e){w(t,e,!0)}),t}function b(t){var e=at.slice.call(arguments,1);return e.forEach(function(e){for(var n in e)void 0===t[n]&&(t[n]=e[n])}),t}function _(t){var e=at.slice.call(arguments,1);return e.forEach(function(e){w(t,e)}),t}function w(t,e,n){for(var r in e)n&&(p(e[r])||ut(e[r]))?(p(e[r])&&!p(t[r])&&(t[r]={}),ut(e[r])&&!ut(t[r])&&(t[r]=[]),w(t[r],e[r],n)):void 0!==e[r]&&(t[r]=e[r])}function x(t,e){var n=e(t);return c(t.root)&&!n.match(/^(https?:)?\//)&&(n=t.root+"/"+n),n}function C(t,e){var n=Object.keys(D.options.params),r={},i=e(t);return m(t.params,function(t,e){n.indexOf(e)===-1&&(r[e]=t)}),r=D.params(r),r&&(i+=(i.indexOf("?")==-1?"?":"&")+r),i}function T(t,e,n){var r=E(t),i=r.expand(e);return n&&n.push.apply(n,r.vars),i}function E(t){var e=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(r){return t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(t,i,o){if(i){var s=null,a=[];if(e.indexOf(i.charAt(0))!==-1&&(s=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(t){var e=/([^:\*]*)(?::(\d+)|(\*))?/.exec(t);a.push.apply(a,$(r,s,e[1],e[2]||e[3])),n.push(e[1])}),s&&"+"!==s){var u=",";return"?"===s?u="&":"#"!==s&&(u=s),(0!==a.length?s:"")+a.join(u)}return a.join(",")}return A(o)})}}}function $(t,e,n,r){var i=t[n],o=[];if(k(i)&&""!==i)if("string"==typeof i||"number"==typeof i||"boolean"==typeof i)i=i.toString(),r&&"*"!==r&&(i=i.substring(0,parseInt(r,10))),o.push(O(e,i,N(e)?n:null));else if("*"===r)Array.isArray(i)?i.filter(k).forEach(function(t){o.push(O(e,t,N(e)?n:null))}):Object.keys(i).forEach(function(t){k(i[t])&&o.push(O(e,i[t],t))});else{var s=[];Array.isArray(i)?i.filter(k).forEach(function(t){s.push(O(e,t))}):Object.keys(i).forEach(function(t){k(i[t])&&(s.push(encodeURIComponent(t)),s.push(O(e,i[t].toString())))}),N(e)?o.push(encodeURIComponent(n)+"="+s.join(",")):0!==s.length&&o.push(s.join(","))}else";"===e?o.push(encodeURIComponent(n)):""!==i||"&"!==e&&"?"!==e?""===i&&o.push(""):o.push(encodeURIComponent(n)+"=");return o}function k(t){return void 0!==t&&null!==t}function N(t){return";"===t||"&"===t||"?"===t}function O(t,e,n){return e="+"===t||"#"===t?A(e):encodeURIComponent(e),n?encodeURIComponent(n)+"="+e:e}function A(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t)),t}).join("")}function j(t){var e=[],n=T(t.url,t.params,e);return e.forEach(function(e){delete t.params[e]}),n}function D(t,e){var n,r=this||{},i=t;return c(t)&&(i={url:t,params:e}),i=y({},D.options,r.$options,i),D.transforms.forEach(function(t){n=S(t,n,r.$vm)}),n(i)}function S(t,e,n){return function(r){return t.call(n,r,e)}}function I(t,e,n){var r,i=ut(e),o=p(e);m(e,function(e,s){r=h(e)||ut(e),n&&(s=n+"["+(o||r?s:"")+"]"),!n&&i?t.add(e.name,e.value):r?I(t,e,s):t.add(s,e)})}function R(t){return new r(function(e){var n=new XDomainRequest,r=function(r){var i=t.respondWith(n.responseText,{status:n.status,statusText:n.statusText});e(i)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),n.timeout=0,n.onload=r,n.onerror=r,n.ontimeout=function(){},n.onprogress=function(){},n.send(t.getBody())})}function L(t,e){!l(t.crossOrigin)&&P(t)&&(t.crossOrigin=!0),t.crossOrigin&&(pt||(t.client=R),delete t.emulateHTTP),e()}function P(t){var e=D.parse(D(t));return e.protocol!==ht.protocol||e.host!==ht.host}function F(t,e){t.emulateJSON&&p(t.body)&&(t.body=D.params(t.body),t.headers["Content-Type"]="application/x-www-form-urlencoded"),d(t.body)&&delete t.headers["Content-Type"],p(t.body)&&(t.body=JSON.stringify(t.body)),e(function(t){var e=t.headers["Content-Type"];if(c(e)&&0===e.indexOf("application/json"))try{t.data=t.json()}catch(n){t.data=null}else t.data=t.text()})}function H(t){return new r(function(e){var n,r,i=t.jsonp||"callback",o="_jsonp"+Math.random().toString(36).substr(2),s=null;n=function(n){var i=0;"load"===n.type&&null!==s?i=200:"error"===n.type&&(i=404),e(t.respondWith(s,{status:i})),delete window[o],document.body.removeChild(r)},t.params[i]=o,window[o]=function(t){s=JSON.stringify(t)},r=document.createElement("script"),r.src=t.getUrl(),r.type="text/javascript",r.async=!0,r.onload=n,r.onerror=n,document.body.appendChild(r)})}function W(t,e){"JSONP"==t.method&&(t.client=H),e(function(e){"JSONP"==t.method&&(e.data=e.json())})}function q(t,e){f(t.before)&&t.before.call(this,t),e()}function V(t,e){t.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(t.method)&&(t.headers["X-HTTP-Method-Override"]=t.method,t.method="POST"),e()}function M(t,e){t.method=t.method.toUpperCase(),t.headers=ct({},J.headers.common,t.crossOrigin?{}:J.headers.custom,J.headers[t.method.toLowerCase()],t.headers),e()}function B(t,e){var n;t.timeout&&(n=setTimeout(function(){t.abort()},t.timeout)),e(function(t){clearTimeout(n)})}function U(t){return new r(function(e){var n=new XMLHttpRequest,r=function(r){var i=t.respondWith("response"in n?n.response:n.responseText,{status:1223===n.status?204:n.status,statusText:1223===n.status?"No Content":u(n.statusText),headers:z(n.getAllResponseHeaders())});e(i)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),n.timeout=0,n.onload=r,n.onerror=r,t.progress&&("GET"===t.method?n.addEventListener("progress",t.progress):/^(POST|PUT)$/i.test(t.method)&&n.upload.addEventListener("progress",t.progress)),t.credentials===!0&&(n.withCredentials=!0),m(t.headers||{},function(t,e){n.setRequestHeader(e,t)}),n.send(t.getBody())})}function z(t){var e,n,r,i={};return m(u(t).split("\n"),function(t){r=t.indexOf(":"),n=u(t.slice(0,r)),e=u(t.slice(r+1)),i[n]?ut(i[n])?i[n].push(e):i[n]=[i[n],e]:i[n]=e}),i}function Q(t){function e(e){return new r(function(r){function a(){n=i.pop(),f(n)?n.call(t,e,u):(o("Invalid interceptor of type "+typeof n+", must be a function"),u())}function u(e){if(f(e))s.unshift(e);else if(h(e))return s.forEach(function(n){e=v(e,function(e){return n.call(t,e)||e})}),void v(e,r);a()}a()},t)}var n,i=[X],s=[];return h(t)||(t=null),e.use=function(t){i.push(t)},e}function X(t,e){var n=t.client||U;e(n(t))}function J(t){var e=this||{},n=Q(e.$vm);return b(t||{},e.$options,J.options),J.interceptors.forEach(function(t){n.use(t)}),n(new gt(t)).then(function(t){return t.ok?t:r.reject(t)},function(t){return t instanceof Error&&s(t),r.reject(t)})}function Y(t,e,n,r){var i=this||{},o={};return n=ct({},Y.actions,n),m(n,function(n,s){n=y({url:t,params:e||{}},r,n),o[s]=function(){return(i.$http||J)(G(n,arguments))}}),o}function G(t,e){var n,r=ct({},t),i={};switch(e.length){case 2:i=e[0],n=e[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(r.method)?n=e[0]:i=e[0];break;case 0:break;default:throw"Expected up to 4 arguments [params, body], got "+e.length+" arguments"}return r.body=n,r.params=ct({},r.params,i),r}function Z(t){Z.installed||(i(t),t.url=D,t.http=J,t.resource=Y,t.Promise=r,Object.defineProperties(t.prototype,{$url:{get:function(){return g(t.url,this,this.$options.url)}},$http:{get:function(){return g(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){var e=this;return function(n){return new t.Promise(n,e)}}}}))}var K=0,tt=1,et=2;n.reject=function(t){return new n(function(e,n){n(t)})},n.resolve=function(t){return new n(function(e,n){e(t)})},n.all=function(t){return new n(function(e,r){function i(n){return function(r){s[n]=r,o+=1,o===t.length&&e(s)}}var o=0,s=[];0===t.length&&e(s);for(var a=0;a<t.length;a+=1)n.resolve(t[a]).then(i(a),r)})},n.race=function(t){return new n(function(e,r){for(var i=0;i<t.length;i+=1)n.resolve(t[i]).then(e,r)})};var nt=n.prototype;nt.resolve=function(t){var e=this;if(e.state===et){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var r=t&&t.then;if(null!==t&&"object"==typeof t&&"function"==typeof r)return void r.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(i){return void(n||e.reject(i))}e.state=K,e.value=t,e.notify()}},nt.reject=function(t){var e=this;if(e.state===et){if(t===e)throw new TypeError("Promise settled with itself.");e.state=tt,e.value=t,e.notify()}},nt.notify=function(){var t=this;a(function(){if(t.state!==et)for(;t.deferred.length;){var e=t.deferred.shift(),n=e[0],r=e[1],i=e[2],o=e[3];try{t.state===K?i("function"==typeof n?n.call(void 0,t.value):t.value):t.state===tt&&("function"==typeof r?i(r.call(void 0,t.value)):o(t.value))}catch(s){o(s)}}})},nt.then=function(t,e){var r=this;return new n(function(n,i){r.deferred.push([t,e,n,i]),r.notify()})},nt["catch"]=function(t){return this.then(void 0,t)};var rt=window.Promise||n;r.all=function(t,e){return new r(rt.all(t),e)},r.resolve=function(t,e){return new r(rt.resolve(t),e)},r.reject=function(t,e){return new r(rt.reject(t),e)},r.race=function(t,e){return new r(rt.race(t),e)};var it=r.prototype;it.bind=function(t){return this.context=t,this},it.then=function(t,e){return t&&t.bind&&this.context&&(t=t.bind(this.context)),e&&e.bind&&this.context&&(e=e.bind(this.context)),new r(this.promise.then(t,e),this.context)},it["catch"]=function(t){return t&&t.bind&&this.context&&(t=t.bind(this.context)),new r(this.promise["catch"](t),this.context)},it["finally"]=function(t){return this.then(function(e){return t.call(this),e},function(e){return t.call(this),rt.reject(e)})};var ot=!1,st={},at=[],ut=Array.isArray,ct=Object.assign||_,lt=document.documentMode,ft=document.createElement("a");D.options={url:"",root:null,params:{}},D.transforms=[j,C,x],D.params=function(t){var e=[],n=encodeURIComponent;return e.add=function(t,e){f(e)&&(e=e()),null===e&&(e=""),this.push(n(t)+"="+n(e))},I(e,t),e.join("&").replace(/%20/g,"+")},D.parse=function(t){return lt&&(ft.href=t,t=ft.href),ft.href=t,{href:ft.href,protocol:ft.protocol?ft.protocol.replace(/:$/,""):"",port:ft.port,host:ft.host,hostname:ft.hostname,pathname:"/"===ft.pathname.charAt(0)?ft.pathname:"/"+ft.pathname,search:ft.search?ft.search.replace(/^\?/,""):"",hash:ft.hash?ft.hash.replace(/^#/,""):""}};var ht=D.parse(location.href),pt="withCredentials"in new XMLHttpRequest,dt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},vt=function(){function t(e,n){var r=n.url,i=n.headers,o=n.status,s=n.statusText;dt(this,t),this.url=r,this.body=e,this.headers=i||{},this.status=o||0,this.statusText=s||"",this.ok=o>=200&&o<300}return t.prototype.text=function(){return this.body},t.prototype.blob=function(){return new Blob([this.body])},t.prototype.json=function(){return JSON.parse(this.body)},t}(),gt=function(){function t(e){dt(this,t),this.method="GET",this.body=null,this.params={},this.headers={},ct(this,e)}return t.prototype.getUrl=function(){return D(this)},t.prototype.getBody=function(){return this.body},t.prototype.respondWith=function(t,e){return new vt(t,ct(e||{},{url:this.getUrl()}))},t}(),mt={"X-Requested-With":"XMLHttpRequest"},yt={Accept:"application/json, text/plain, */*"},bt={"Content-Type":"application/json;charset=utf-8"};J.options={},J.headers={put:bt,post:bt,patch:bt,"delete":bt,custom:mt,common:yt},J.interceptors=[q,B,V,F,W,M,L],["get","delete","head","jsonp"].forEach(function(t){J[t]=function(e,n){return this(ct(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){J[t]=function(e,n,r){return this(ct(r||{},{url:e,method:t,body:n}))}}),Y.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},"delete":{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(Z),t.exports=Z},function(t,e,n){"use strict";(function(e,n){function r(t,e,n){if(o(t,e))return void(t[e]=n);if(t._isVue)return void r(t._data,e,n);var i=t.__ob__;if(!i)return void(t[e]=n);if(i.convert(e,n),i.dep.notify(),i.vms)for(var s=i.vms.length;s--;){var a=i.vms[s];a._proxy(e),a._digest()}return n}function i(t,e){if(o(t,e)){delete t[e];var n=t.__ob__;if(!n)return void(t._isVue&&(delete t._data[e],t._digest()));if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var i=n.vms[r];i._unproxy(e),i._digest()}}}function o(t,e){return Sn.call(t,e)}function s(t){return In.test(t)}function a(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function u(t){return null==t?"":t.toString()}function c(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function l(t){return"true"===t||"false"!==t&&t}function f(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function h(t){return t.replace(Rn,p)}function p(t,e){return e?e.toUpperCase():""}function d(t){return t.replace(Ln,"$1-$2").toLowerCase()}function v(t){return t.replace(Pn,p)}function g(t,e){return function(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}}function m(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function y(t,e){for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}function b(t){return null!==t&&"object"==typeof t}function _(t){return Fn.call(t)===Hn}function w(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function x(t,e){var n,r,i,o,s,a=function u(){var a=Date.now()-o;a<e&&a>=0?n=setTimeout(u,e-a):(n=null,s=t.apply(i,r),n||(i=r=null))};return function(){return i=this,r=arguments,o=Date.now(),n||(n=setTimeout(a,e)),s}}function C(t,e){for(var n=t.length;n--;)if(t[n]===e)return n;return-1}function T(t){var e=function n(){if(!n.cancelled)return t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function E(t,e){return t==e||!(!b(t)||!b(e))&&JSON.stringify(t)===JSON.stringify(e)}function $(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function k(){var t,e=ar.slice(pr,fr).trim();if(e){t={};var n=e.match(_r);t.name=n[0],n.length>1&&(t.args=n.slice(1).map(N))}t&&(ur.filters=ur.filters||[]).push(t),pr=fr+1}function N(t){if(wr.test(t))return{value:c(t),dynamic:!1};var e=f(t),n=e===t;return{value:n?t:e,dynamic:n}}function O(t){var e=br.get(t);if(e)return e;for(ar=t,dr=vr=!1,gr=mr=yr=0,pr=0,ur={},fr=0,hr=ar.length;fr<hr;fr++)if(lr=cr,cr=ar.charCodeAt(fr),dr)39===cr&&92!==lr&&(dr=!dr);else if(vr)34===cr&&92!==lr&&(vr=!vr);else if(124===cr&&124!==ar.charCodeAt(fr+1)&&124!==ar.charCodeAt(fr-1))null==ur.expression?(pr=fr+1,ur.expression=ar.slice(0,fr).trim()):k();else switch(cr){case 34:vr=!0;break;case 39:dr=!0;break;case 40:yr++;break;case 41:yr--;break;case 91:mr++;break;case 93:mr--;break;case 123:gr++;break;case 125:gr--}return null==ur.expression?ur.expression=ar.slice(0,fr).trim():0!==pr&&k(),br.put(t,ur),ur}function A(t){return t.replace(Cr,"\\$&")}function j(){var t=A(jr.delimiters[0]),e=A(jr.delimiters[1]),n=A(jr.unsafeDelimiters[0]),r=A(jr.unsafeDelimiters[1]);Er=new RegExp(n+"((?:.|\\n)+?)"+r+"|"+t+"((?:.|\\n)+?)"+e,"g"),$r=new RegExp("^"+n+"((?:.|\\n)+?)"+r+"$"),Tr=new $(1e3)}function D(t){Tr||j();var e=Tr.get(t);if(e)return e;if(!Er.test(t))return null;for(var n,r,i,o,s,a,u=[],c=Er.lastIndex=0;n=Er.exec(t);)r=n.index,r>c&&u.push({value:t.slice(c,r)}),i=$r.test(n[0]),o=i?n[1]:n[2],s=o.charCodeAt(0),a=42===s,o=a?o.slice(1):o,u.push({tag:!0,value:o.trim(),html:i,oneTime:a}),c=r+n[0].length;return c<t.length&&u.push({value:t.slice(c)}),Tr.put(t,u),u}function S(t,e){return t.length>1?t.map(function(t){return I(t,e)}).join("+"):I(t[0],e,!0)}function I(t,e,n){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':R(t.value,n):'"'+t.value+'"'}function R(t,e){if(kr.test(t)){var n=O(t);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function L(t,e,n,r){H(t,1,function(){e.appendChild(t)},n,r)}function P(t,e,n,r){H(t,1,function(){U(t,e)},n,r)}function F(t,e,n){H(t,-1,function(){Q(t)},e,n)}function H(t,e,n,r,i){var o=t.__v_trans;if(!o||!o.hooks&&!Kn||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(i&&i());var s=e>0?"enter":"leave";o[s](n,i)}function W(t){if("string"==typeof t){var e=t;t=document.querySelector(t),t||"production"!==n.env.NODE_ENV&&Dr("Cannot find element: "+e)}return t}function q(t){if(!t)return!1;var e=t.ownerDocument.documentElement,n=t.parentNode;return e===t||e===n||!(!n||1!==n.nodeType||!e.contains(n))}function V(t,e){var n=t.getAttribute(e);return null!==n&&t.removeAttribute(e),n}function M(t,e){var n=V(t,":"+e);return null===n&&(n=V(t,"v-bind:"+e)),n}function B(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function U(t,e){e.parentNode.insertBefore(t,e)}function z(t,e){e.nextSibling?U(t,e.nextSibling):e.parentNode.appendChild(t)}function Q(t){t.parentNode.removeChild(t)}function X(t,e){e.firstChild?U(t,e.firstChild):e.appendChild(t)}function J(t,e){var n=t.parentNode;n&&n.replaceChild(e,t)}function Y(t,e,n,r){t.addEventListener(e,n,r)}function G(t,e,n){t.removeEventListener(e,n)}function Z(t){var e=t.className;return"object"==typeof e&&(e=e.baseVal||""),e}function K(t,e){zn&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function tt(t,e){if(t.classList)t.classList.add(e);else{var n=" "+Z(t)+" ";n.indexOf(" "+e+" ")<0&&K(t,(n+e).trim())}}function et(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+Z(t)+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");K(t,n.trim())}t.className||t.removeAttribute("class")}function nt(t,e){var n,r;if(ot(t)&&lt(t.content)&&(t=t.content),t.hasChildNodes())for(rt(t),r=e?document.createDocumentFragment():document.createElement("div");n=t.firstChild;)r.appendChild(n);return r}function rt(t){for(var e;e=t.firstChild,it(e);)t.removeChild(e);for(;e=t.lastChild,it(e);)t.removeChild(e)}function it(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function ot(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function st(t,e){var n=jr.debug?document.createComment(t):document.createTextNode(e?" ":"");return n.__v_anchor=!0,n}function at(t){if(t.hasAttributes())for(var e=t.attributes,n=0,r=e.length;n<r;n++){var i=e[n].name;if(Rr.test(i))return h(i.replace(Rr,""))}}function ut(t,e,n){for(var r;t!==e;)r=t.nextSibling,n(t),t=r;n(e)}function ct(t,e,n,r,i){function o(){if(a++,s&&a>=u.length){for(var t=0;t<u.length;t++)r.appendChild(u[t]);i&&i()}}var s=!1,a=0,u=[];ut(t,e,function(t){t===e&&(s=!0),u.push(t),F(t,n,o)})}function lt(t){return t&&11===t.nodeType}function ft(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}function ht(t,e){var r=t.tagName.toLowerCase(),i=t.hasAttributes();if(Lr.test(r)||Pr.test(r)){if(i)return pt(t,e)}else{if(_t(e,"components",r))return{id:r};var o=i&&pt(t,e);if(o)return o;if("production"!==n.env.NODE_ENV){var s=e._componentNameMap&&e._componentNameMap[r];s?Dr("Unknown custom element: <"+r+"> - did you mean <"+s+">? HTML is case-insensitive, remember to use kebab-case in templates."):Fr(t,r)&&Dr("Unknown custom element: <"+r+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.')}}}function pt(t,e){var n=t.getAttribute("is");if(null!=n){if(_t(e,"components",n))return t.removeAttribute("is"),{id:n}}else if(n=M(t,"is"),null!=n)return{id:n,dynamic:!0}}function dt(t,e){var n,i,s;for(n in e)i=t[n],s=e[n],o(t,n)?b(i)&&b(s)&&dt(i,s):r(t,n,s);return t}function vt(t,e){var n=Object.create(t||null);return e?y(n,yt(e)):n}function gt(t){if(t.components){var e,r=t.components=yt(t.components),i=Object.keys(r);if("production"!==n.env.NODE_ENV)var o=t._componentNameMap={};for(var s=0,a=i.length;s<a;s++){var u=i[s];Lr.test(u)||Pr.test(u)?"production"!==n.env.NODE_ENV&&Dr("Do not use built-in or reserved HTML elements as component id: "+u):("production"!==n.env.NODE_ENV&&(o[u.replace(/-/g,"").toLowerCase()]=d(u)),e=r[u],_(e)&&(r[u]=kn.extend(e)))}}}function mt(t){var e,n,r=t.props;if(Wn(r))for(t.props={},e=r.length;e--;)n=r[e],"string"==typeof n?t.props[n]=null:n.name&&(t.props[n.name]=n);else if(_(r)){var i=Object.keys(r);for(e=i.length;e--;)n=r[i[e]],"function"==typeof n&&(r[i[e]]={type:n})}}function yt(t){if(Wn(t)){for(var e,r={},i=t.length;i--;){e=t[i];var o="function"==typeof e?e.options&&e.options.name||e.id:e.name||e.id;o?r[o]=e:"production"!==n.env.NODE_ENV&&Dr('Array-syntax assets must provide a "name" or "id" field.')}return r}return t}function bt(t,e,r){function i(n){var i=Hr[n]||Wr;a[n]=i(t[n],e[n],r,n)}gt(e),mt(e),"production"!==n.env.NODE_ENV&&e.propsData&&!r&&Dr("propsData can only be used as an instantiation option.");var s,a={};if(e["extends"]&&(t="function"==typeof e["extends"]?bt(t,e["extends"].options,r):bt(t,e["extends"],r)),e.mixins)for(var u=0,c=e.mixins.length;u<c;u++){var l=e.mixins[u],f=l.prototype instanceof kn?l.options:l;t=bt(t,f,r)}for(s in t)i(s);for(s in e)o(t,s)||i(s);return a}function _t(t,e,r,i){if("string"==typeof r){var o,s=t[e],a=s[r]||s[o=h(r)]||s[o.charAt(0).toUpperCase()+o.slice(1)];return"production"!==n.env.NODE_ENV&&i&&!a&&Dr("Failed to resolve "+e.slice(0,-1)+": "+r,t),a}}function wt(){this.id=qr++,this.subs=[]}function xt(t){Ur=!1,t(),Ur=!0}function Ct(t){if(this.value=t,this.dep=new wt,w(t,"__ob__",this),Wn(t)){var e=qn?Tt:Et;e(t,Mr,Br),this.observeArray(t)}else this.walk(t)}function Tt(t,e){t.__proto__=e}function Et(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];w(t,o,e[o])}}function $t(t,e){if(t&&"object"==typeof t){var n;return o(t,"__ob__")&&t.__ob__ instanceof Ct?n=t.__ob__:Ur&&(Wn(t)||_(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Ct(t)),n&&e&&n.addVm(e),n}}function kt(t,e,n){var r=new wt,i=Object.getOwnPropertyDescriptor(t,e);if(!i||i.configurable!==!1){var o=i&&i.get,s=i&&i.set,a=$t(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):n;if(wt.target&&(r.depend(),a&&a.dep.depend(),Wn(e)))for(var i,s=0,u=e.length;s<u;s++)i=e[s],i&&i.__ob__&&i.__ob__.dep.depend();return e},set:function(e){var i=o?o.call(t):n;e!==i&&(s?s.call(t,e):n=e,a=$t(e),r.notify())}})}}function Nt(t){t.prototype._init=function(t){t=t||{},this.$el=null,this.$parent=t.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=Qr++,this._isVue=!0,this._events={},this._eventsCount={},this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=this._vForRemoving=!1,this._unlinkFn=null,this._context=t._context||this.$parent,this._scope=t._scope,this._frag=t._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),t=this.$options=bt(this.constructor.options,t,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}}function Ot(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function At(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(s(e)?f(e):"*"+e)}function jt(t){function e(){var e=t[l+1];if(f===ii&&"'"===e||f===oi&&'"'===e)return l++,r="\\"+e,p[Jr](),!0}var n,r,i,o,s,a,u,c=[],l=-1,f=Kr,h=0,p=[];for(p[Yr]=function(){void 0!==i&&(c.push(i),i=void 0)},p[Jr]=function(){void 0===i?i=r:i+=r},p[Gr]=function(){p[Jr](),h++},p[Zr]=function(){if(h>0)h--,f=ri,p[Jr]();else{if(h=0,i=At(i),i===!1)return!1;p[Yr]()}};null!=f;)if(l++,n=t[l],"\\"!==n||!e()){if(o=Ot(n),u=ui[f],s=u[o]||u["else"]||ai,s===ai)return;if(f=s[0],a=p[s[1]],a&&(r=s[2],r=void 0===r?n:r,a()===!1))return;if(f===si)return c.raw=t,c}}function Dt(t){var e=Xr.get(t);return e||(e=jt(t),e&&Xr.put(t,e)),e}function St(t,e){return Vt(e).get(t)}function It(t,e,i){var o=t;if("string"==typeof e&&(e=jt(e)),!e||!b(t))return!1;for(var s,a,u=0,c=e.length;u<c;u++)s=t,a=e[u],"*"===a.charAt(0)&&(a=Vt(a.slice(1)).get.call(o,o)),u<c-1?(t=t[a],b(t)||(t={},"production"!==n.env.NODE_ENV&&s._isVue&&ci(e,s),r(s,a,t))):Wn(t)?t.$set(a,i):a in t?t[a]=i:("production"!==n.env.NODE_ENV&&t._isVue&&ci(e,t),r(t,a,i));return!0}function Rt(){}function Lt(t,e){var n=Ci.length;return Ci[n]=e?t.replace(mi,"\\n"):t,'"'+n+'"'}function Pt(t){var e=t.charAt(0),n=t.slice(1);return pi.test(n)?t:(n=n.indexOf('"')>-1?n.replace(bi,Ft):n,e+"scope."+n)}function Ft(t,e){return Ci[e]}function Ht(t){vi.test(t)&&"production"!==n.env.NODE_ENV&&Dr("Avoid using reserved keywords in expression: "+t),Ci.length=0;var e=t.replace(yi,Lt).replace(gi,"");return e=(" "+e).replace(wi,Pt).replace(bi,Ft),Wt(e)}function Wt(t){try{return new Function("scope","return "+t+";")}catch(e){return"production"!==n.env.NODE_ENV&&Dr(e.toString().match(/unsafe-eval|CSP/)?"It seems you are using the default build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. Use the CSP-compliant build instead: http://vuejs.org/guide/installation.html#CSP-compliant-build":"Invalid expression. Generated function body: "+t),Rt}}function qt(t){var e=Dt(t);return e?function(t,n){It(t,e,n)}:void("production"!==n.env.NODE_ENV&&Dr("Invalid setter expression: "+t))}function Vt(t,e){t=t.trim();var n=fi.get(t);if(n)return e&&!n.set&&(n.set=qt(n.exp)),n;var r={exp:t};return r.get=Mt(t)&&t.indexOf("[")<0?Wt("scope."+t):Ht(t),e&&(r.set=qt(t)),fi.put(t,r),r}function Mt(t){return _i.test(t)&&!xi.test(t)&&"Math."!==t.slice(0,5)}function Bt(){Ei.length=0,$i.length=0,ki={},Ni={},Oi=!1}function Ut(){for(var t=!0;t;)t=!1,zt(Ei),zt($i),Ei.length?t=!0:(Mn&&jr.devtools&&Mn.emit("flush"),Bt())}function zt(t){for(var e=0;e<t.length;e++){var r=t[e],i=r.id;if(ki[i]=null,r.run(),"production"!==n.env.NODE_ENV&&null!=ki[i]&&(Ni[i]=(Ni[i]||0)+1,Ni[i]>jr._maxUpdateCount)){Dr('You may have an infinite update loop for watcher with expression "'+r.expression+'"',r.vm);break}}t.length=0}function Qt(t){var e=t.id;if(null==ki[e]){var n=t.user?$i:Ei;ki[e]=n.length,n.push(t),Oi||(Oi=!0,ir(Ut))}}function Xt(t,e,n,r){r&&y(this,r);var i="function"==typeof e;if(this.vm=t,t._watchers.push(this),this.expression=e,this.cb=n,this.id=++Ai,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new or,this.newDepIds=new or,this.prevError=null,i)this.getter=e,this.setter=void 0;else{var o=Vt(e,this.twoWay);this.getter=o.get,this.setter=o.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function Jt(t,e){var n=void 0,r=void 0;e||(e=ji,e.clear());var i=Wn(t),o=b(t);if((i||o)&&Object.isExtensible(t)){if(t.__ob__){var s=t.__ob__.dep.id;if(e.has(s))return;e.add(s)}if(i)for(n=t.length;n--;)Jt(t[n],e);else if(o)for(r=Object.keys(t),n=r.length;n--;)Jt(t[r[n]],e)}}function Yt(t){return ot(t)&&lt(t.content)}function Gt(t,e){var n=e?t:t.trim(),r=Si.get(n);if(r)return r;var i=document.createDocumentFragment(),o=t.match(Li),s=Pi.test(t),a=Fi.test(t);if(o||s||a){var u=o&&o[1],c=Ri[u]||Ri.efault,l=c[0],f=c[1],h=c[2],p=document.createElement("div");for(p.innerHTML=f+t+h;l--;)p=p.lastChild;for(var d;d=p.firstChild;)i.appendChild(d)}else i.appendChild(document.createTextNode(t));return e||rt(i),Si.put(n,i),i}function Zt(t){if(Yt(t))return Gt(t.innerHTML);if("SCRIPT"===t.tagName)return Gt(t.textContent);for(var e,n=Kt(t),r=document.createDocumentFragment();e=n.firstChild;)r.appendChild(e);return rt(r),r}function Kt(t){if(!t.querySelectorAll)return t.cloneNode();var e,n,r,i=t.cloneNode(!0);if(Hi){var o=i;if(Yt(t)&&(t=t.content,o=i.content),n=t.querySelectorAll("template"),n.length)for(r=o.querySelectorAll("template"),e=r.length;e--;)r[e].parentNode.replaceChild(Kt(n[e]),r[e])}if(Wi)if("TEXTAREA"===t.tagName)i.value=t.value;else if(n=t.querySelectorAll("textarea"),n.length)for(r=i.querySelectorAll("textarea"),e=r.length;e--;)r[e].value=n[e].value;return i}function te(t,e,n){var r,i;return lt(t)?(rt(t),e?Kt(t):t):("string"==typeof t?n||"#"!==t.charAt(0)?i=Gt(t,n):(i=Ii.get(t),i||(r=document.getElementById(t.slice(1)),r&&(i=Zt(r),Ii.put(t,i)))):t.nodeType&&(i=Zt(t)),i&&e?Kt(i):i)}function ee(t,e,n,r,i,o){this.children=[],this.childFrags=[],this.vm=e,this.scope=i,this.inserted=!1,this.parentFrag=o,o&&o.childFrags.push(this),this.unlink=t(e,n,r,i,this);var s=this.single=1===n.childNodes.length&&!n.childNodes[0].__v_anchor;s?(this.node=n.childNodes[0],this.before=ne,this.remove=re):(this.node=st("fragment-start"),this.end=st("fragment-end"),this.frag=n,X(this.node,n),n.appendChild(this.end),this.before=ie,this.remove=oe),this.node.__v_frag=this}function ne(t,e){this.inserted=!0;var n=e!==!1?P:U;n(this.node,t,this.vm),q(this.node)&&this.callHook(se)}function re(){this.inserted=!1;var t=q(this.node),e=this;this.beforeRemove(),F(this.node,this.vm,function(){t&&e.callHook(ae),e.destroy()})}function ie(t,e){this.inserted=!0;var n=this.vm,r=e!==!1?P:U;ut(this.node,this.end,function(e){r(e,t,n)}),q(this.node)&&this.callHook(se)}function oe(){this.inserted=!1;var t=this,e=q(this.node);this.beforeRemove(),ct(this.node,this.end,this.vm,this.frag,function(){e&&t.callHook(ae),t.destroy()})}function se(t){!t._isAttached&&q(t.$el)&&t._callHook("attached")}function ae(t){t._isAttached&&!q(t.$el)&&t._callHook("detached")}function ue(t,e){this.vm=t;var n,r="string"==typeof e;r||ot(e)&&!e.hasAttribute("v-if")?n=te(e,!0):(n=document.createDocumentFragment(),n.appendChild(e)),this.template=n;var i,o=t.constructor.cid;if(o>0){var s=o+(r?e:ft(e));i=Mi.get(s),i||(i=He(n,t.$options,!0),
0 ignored issues
show
Bug introduced by
The variable gr is changed as part of the for loop for example by gr++ on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Performance Best Practice introduced by
Using new Function() to create a function is slow and difficult to debug. Such functions do not create a closure. Consider using another way to define your function.
Loading history...
Coding Style Comprehensibility Best Practice introduced by
Empty catch clauses should be used with caution; consider adding a comment why this is needed.
Loading history...
Coding Style introduced by
As per coding-style, switch statements should have a default case.
Loading history...
Bug introduced by
The variable dr is changed as part of the for loop for example by !dr on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
Bug introduced by
The variable r does not seem to be initialized in case ot(t) && lt(t.content) &...tent, t.hasChildNodes() on line 7 is false. Are you sure this can never be the case?
Loading history...
Bug introduced by
The variable yr is changed as part of the for loop for example by yr++ on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Bug introduced by
The variable Tr seems to not be initialized for all possible execution paths.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like vt should be capitalized.
Loading history...
Best Practice introduced by
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
Bug introduced by
The variable n seems to not be initialized for all possible execution paths.
Loading history...
Complexity Best Practice introduced by
There is no return statement if f === ii && "'" === e || f === oi && """ === e is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if n = M(t, "is"), null != n is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable l does not seem to be initialized in case the for loop on line 7 is not entered. Are you sure this can never be the case?
Loading history...
Complexity Best Practice introduced by
There is no return statement if !n.cancelled is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if n.dep.notify(), n.vms is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Unused Code introduced by
The parameter r is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Bug introduced by
The variable mr is changed as part of the for loop for example by mr++ on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Unused Code introduced by
The parameter t is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like wt should be capitalized.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like r should be capitalized.
Loading history...
Complexity Best Practice introduced by
There is no return statement if o(t, e) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable vr is changed as part of the for loop for example by !vr on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Complexity Best Practice introduced by
There is no return statement if e.state === et is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Unused Code introduced by
The assignment to variable n seems to be never used. Consider removing it.
Loading history...
Bug introduced by
The variable h does not seem to be initialized in case the for loop on line 7 is not entered. Are you sure this can never be the case?
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like gt should be capitalized.
Loading history...
Unused Code introduced by
The assignment to variable r seems to be never used. Consider removing it.
Loading history...
Bug introduced by
The variable h is changed as part of the for loop for example by ++h on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Unused Code introduced by
The parameter n is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like rt should be capitalized.
Loading history...
Unused Code introduced by
The expression "undefined" != typeof console has no effects. Consider removing it.
Loading history...
Complexity introduced by
A for in loop automatically includes the property of any prototype object, consider checking the key using hasOwnProperty.

When iterating over the keys of an object, this includes not only the keys of the object, but also keys contained in the prototype of that object. It is generally a best practice to check for these keys specifically:

var someObject;
for (var key in someObject) {
    if ( ! someObject.hasOwnProperty(key)) {
        continue; // Skip keys from the prototype.
    }

    doSomethingWith(key);
}
Loading history...
Complexity Best Practice introduced by
There is no return statement if "production" !== n.env.NODE_ENV is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if t.hasAttributes() is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style introduced by
Consider using undefined instead of void(0). It is equivalent and more straightforward to read.
Loading history...
Bug introduced by
The variable cr seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable setTimeout seems to be never declared. If this is a global, consider adding a /** global: setTimeout */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable ai seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable lr is changed as part of the for loop for example by cr on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Bug introduced by
The variable n seems to not be initialized for all possible execution paths. Are you sure clearTimeout handles undefined variables?
Loading history...
Bug introduced by
The variable l seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable clearTimeout seems to be never declared. If this is a global, consider adding a /** global: clearTimeout */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable encodeURIComponent seems to be never declared. If this is a global, consider adding a /** global: encodeURIComponent */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable cr is changed as part of the for loop for example by ar.charCodeAt(fr) on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Complexity Best Practice introduced by
There is no return statement if _t(e, "components", n) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if i is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable XMLHttpRequest seems to be never declared. If this is a global, consider adding a /** global: XMLHttpRequest */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like n should be capitalized.
Loading history...
Bug introduced by
The variable fr is changed as part of the for loop for example by fr++ on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Complexity Best Practice introduced by
There is no return statement if "string" == typeof r is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Unused Code introduced by
The parameter e is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Complexity Best Practice introduced by
There is no return statement if t && "object" == typeof t is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable XDomainRequest seems to be never declared. If this is a global, consider adding a /** global: XDomainRequest */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Bug introduced by
The variable G seems to be never initialized.
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like i should be capitalized.
Loading history...
Bug introduced by
The variable i seems to not be initialized for all possible execution paths. Are you sure Kt handles undefined variables?
Loading history...
Bug introduced by
The variable l is changed as part of the for loop for example by [] on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Bug introduced by
The variable o does not seem to be initialized in case "production" !== n.env.NODE_ENV on line 7 is false. Are you sure this can never be the case?
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like or should be capitalized.
Loading history...
Bug introduced by
The variable Mn is changed as part of the for loop for example by Mn on line 7. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Bug introduced by
The variable Blob seems to be never declared. If this is a global, consider adding a /** global: Blob */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Duplication introduced by
This code seems to be duplicated in your project.
Loading history...
8
Mi.put(s,i))}else i=He(n,t.$options,!0);this.linker=i}function ce(t,e,n){var r=t.node.previousSibling;if(r){for(t=r.__v_frag;!(t&&t.forId===n&&t.inserted||r===e);){if(r=r.previousSibling,!r)return;t=r.__v_frag}return t}}function le(t){var e=t.node;if(t.end)for(;!e.__vue__&&e!==t.end&&e.nextSibling;)e=e.nextSibling;return e.__vue__}function fe(t){for(var e=-1,n=new Array(Math.floor(t));++e<t;)n[e]=e;return n}function he(t,e,n,r){return r?"$index"===r?t:r.charAt(0).match(/\w/)?St(n,r):n[r]:e||n}function pe(t,e,n){for(var r,i,o,s=e?[]:null,a=0,u=t.options.length;a<u;a++)if(r=t.options[a],o=n?r.hasAttribute("selected"):r.selected){if(i=r.hasOwnProperty("_value")?r._value:r.value,!e)return i;s.push(i)}return s}function de(t,e){for(var n=t.length;n--;)if(E(t[n],e))return n;return-1}function ve(t,e){var n=e.map(function(t){var e=t.charCodeAt(0);return e>47&&e<58?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&e<91)?e:lo[t]});return n=[].concat.apply([],n),function(e){if(n.indexOf(e.keyCode)>-1)return t.call(this,e)}}function ge(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function me(t){return function(e){return e.preventDefault(),t.call(this,e)}}function ye(t){return function(e){if(e.target===e.currentTarget)return t.call(this,e)}}function be(t){if(go[t])return go[t];var e=_e(t);return go[t]=go[e]=e,e}function _e(t){t=d(t);var e=h(t),n=e.charAt(0).toUpperCase()+e.slice(1);mo||(mo=document.createElement("div"));var r,i=ho.length;if("filter"!==e&&e in mo.style)return{kebab:t,camel:e};for(;i--;)if(r=po[i]+n,r in mo.style)return{kebab:ho[i]+t,camel:r}}function we(t){var e=[];if(Wn(t))for(var n=0,r=t.length;n<r;n++){var i=t[n];if(i)if("string"==typeof i)e.push(i);else for(var o in i)i[o]&&e.push(o)}else if(b(t))for(var s in t)t[s]&&e.push(s);return e}function xe(t,e,n){if(e=e.trim(),e.indexOf(" ")===-1)return void n(t,e);for(var r=e.split(/\s+/),i=0,o=r.length;i<o;i++)n(t,r[i])}function Ce(t,e,n){function r(){++o>=i?n():t[o].call(e,r)}var i=t.length,o=0;t[0].call(e,r)}function Te(t,e,r){for(var i,o,a,u,c,l,f,p=[],v=Object.keys(e),g=v.length;g--;)if(o=v[g],i=e[o]||So,"production"===n.env.NODE_ENV||"$data"!==o)if(c=h(o),Io.test(c)){if(f={name:o,path:c,options:i,mode:Do.ONE_WAY,raw:null},a=d(o),null===(u=M(t,a))&&(null!==(u=M(t,a+".sync"))?f.mode=Do.TWO_WAY:null!==(u=M(t,a+".once"))&&(f.mode=Do.ONE_TIME)),null!==u)f.raw=u,l=O(u),u=l.expression,f.filters=l.filters,s(u)&&!l.filters?f.optimizedLiteral=!0:(f.dynamic=!0,"production"===n.env.NODE_ENV||f.mode!==Do.TWO_WAY||Ro.test(u)||(f.mode=Do.ONE_WAY,Dr("Cannot bind two-way prop with non-settable parent path: "+u,r))),f.parentPath=u,"production"!==n.env.NODE_ENV&&i.twoWay&&f.mode!==Do.TWO_WAY&&Dr('Prop "'+o+'" expects a two-way binding type.',r);else if(null!==(u=V(t,a)))f.raw=u;else if("production"!==n.env.NODE_ENV){var m=c.toLowerCase();u=/[A-Z\-]/.test(o)&&(t.getAttribute(m)||t.getAttribute(":"+m)||t.getAttribute("v-bind:"+m)||t.getAttribute(":"+m+".once")||t.getAttribute("v-bind:"+m+".once")||t.getAttribute(":"+m+".sync")||t.getAttribute("v-bind:"+m+".sync")),u?Dr("Possible usage error for prop `"+m+"` - did you mean `"+a+"`? HTML is case-insensitive, remember to use kebab-case for props in templates.",r):i.required&&Dr("Missing required prop: "+o,r)}p.push(f)}else"production"!==n.env.NODE_ENV&&Dr('Invalid prop key: "'+o+'". Prop keys must be valid identifiers.',r);else Dr("Do not use $data as prop.",r);return Ee(p)}function Ee(t){return function(e,n){e._props={};for(var r,i,s,a,u,h=e.$options.propsData,p=t.length;p--;)if(r=t[p],u=r.raw,i=r.path,s=r.options,e._props[i]=r,h&&o(h,i)&&ke(e,r,h[i]),null===u)ke(e,r,void 0);else if(r.dynamic)r.mode===Do.ONE_TIME?(a=(n||e._context||e).$get(r.parentPath),ke(e,r,a)):e._context?e._bindDir({name:"prop",def:Po,prop:r},null,null,n):ke(e,r,e.$get(r.parentPath));else if(r.optimizedLiteral){var v=f(u);a=v===u?l(c(u)):v,ke(e,r,a)}else a=s.type===Boolean&&(""===u||u===d(r.name))||u,ke(e,r,a)}}function $e(t,e,n,r){var i=e.dynamic&&Mt(e.parentPath),o=n;void 0===o&&(o=Oe(t,e)),o=je(e,o,t);var s=o!==n;Ae(e,o,t)||(o=void 0),i&&!s?xt(function(){r(o)}):r(o)}function ke(t,e,n){$e(t,e,n,function(n){kt(t,e.path,n)})}function Ne(t,e,n){$e(t,e,n,function(n){t[e.path]=n})}function Oe(t,e){var r=e.options;if(!o(r,"default"))return r.type!==Boolean&&void 0;var i=r["default"];return b(i)&&"production"!==n.env.NODE_ENV&&Dr('Invalid default value for prop "'+e.name+'": Props with type Object/Array must use a factory function to return the default value.',t),"function"==typeof i&&r.type!==Function?i.call(t):i}function Ae(t,e,r){if(!t.options.required&&(null===t.raw||null==e))return!0;var i=t.options,o=i.type,s=!o,a=[];if(o){Wn(o)||(o=[o]);for(var u=0;u<o.length&&!s;u++){var c=De(e,o[u]);a.push(c.expectedType),s=c.valid}}if(!s)return"production"!==n.env.NODE_ENV&&Dr('Invalid prop: type check failed for prop "'+t.name+'". Expected '+a.map(Se).join(", ")+", got "+Ie(e)+".",r),!1;var l=i.validator;return!(l&&!l(e))||("production"!==n.env.NODE_ENV&&Dr('Invalid prop: custom validator check failed for prop "'+t.name+'".',r),!1)}function je(t,e,r){var i=t.options.coerce;return i?"function"==typeof i?i(e):("production"!==n.env.NODE_ENV&&Dr('Invalid coerce for prop "'+t.name+'": expected function, got '+typeof i+".",r),e):e}function De(t,e){var n,r;return e===String?(r="string",n=typeof t===r):e===Number?(r="number",n=typeof t===r):e===Boolean?(r="boolean",n=typeof t===r):e===Function?(r="function",n=typeof t===r):e===Object?(r="object",n=_(t)):e===Array?(r="array",n=Wn(t)):n=t instanceof e,{valid:n,expectedType:r}}function Se(t){return t?t.charAt(0).toUpperCase()+t.slice(1):"custom type"}function Ie(t){return Object.prototype.toString.call(t).slice(8,-1)}function Re(t){Fo.push(t),Ho||(Ho=!0,ir(Le))}function Le(){for(var t=document.documentElement.offsetHeight,e=0;e<Fo.length;e++)Fo[e]();return Fo=[],Ho=!1,t}function Pe(t,e,r,i){this.id=e,this.el=t,this.enterClass=r&&r.enterClass||e+"-enter",this.leaveClass=r&&r.leaveClass||e+"-leave",this.hooks=r,this.vm=i,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.justEntered=!1,this.entered=this.left=!1,this.typeCache={},this.type=r&&r.type,"production"!==n.env.NODE_ENV&&this.type&&this.type!==Wo&&this.type!==qo&&Dr('invalid CSS transition type for transition="'+this.id+'": '+this.type,i);var o=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(t){o[t]=g(o[t],o)})}function Fe(t){if(/svg$/.test(t.namespaceURI)){var e=t.getBoundingClientRect();return!(e.width||e.height)}return!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function He(t,e,n){var r=n||!e._asComponent?ze(t,e):null,i=r&&r.terminal||ln(t)||!t.hasChildNodes()?null:Ze(t.childNodes,e);return function(t,e,n,o,s){var a=m(e.childNodes),u=We(function(){r&&r(t,e,n,o,s),i&&i(t,a,n,o,s)},t);return Ve(t,u)}}function We(t,e){"production"===n.env.NODE_ENV&&(e._directives=[]);var r=e._directives.length;t();var i=e._directives.slice(r);i.sort(qe);for(var o=0,s=i.length;o<s;o++)i[o]._bind();return i}function qe(t,e){return t=t.descriptor.def.priority||ts,e=e.descriptor.def.priority||ts,t>e?-1:t===e?0:1}function Ve(t,e,n,r){function i(i){Me(t,e,i),n&&r&&Me(n,r)}return i.dirs=e,i}function Me(t,e,r){for(var i=e.length;i--;)e[i]._teardown(),"production"===n.env.NODE_ENV||r||t._directives.$remove(e[i])}function Be(t,e,n,r){var i=Te(e,n,t),o=We(function(){i(t,r)},t);return Ve(t,o)}function Ue(t,e,r){var i,o,s=e._containerAttrs,a=e._replacerAttrs;if(11!==t.nodeType)e._asComponent?(s&&r&&(i=sn(s,r)),a&&(o=sn(a,e))):o=sn(t.attributes,e);else if("production"!==n.env.NODE_ENV&&s){var u=s.filter(function(t){return t.name.indexOf("_v-")<0&&!Yo.test(t.name)&&"slot"!==t.name}).map(function(t){return'"'+t.name+'"'});if(u.length){var c=u.length>1;Dr("Attribute"+(c?"s ":" ")+u.join(", ")+(c?" are":" is")+" ignored on component <"+e.el.tagName.toLowerCase()+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment-Instance")}}return e._containerAttrs=e._replacerAttrs=null,function(t,e,n){var r,s=t._context;s&&i&&(r=We(function(){i(s,e,null,n)},s));var a=We(function(){o&&o(t,e)},t);return Ve(t,a,s,r)}}function ze(t,e){var n=t.nodeType;return 1!==n||ln(t)?3===n&&t.data.trim()?Xe(t,e):null:Qe(t,e)}function Qe(t,e){if("TEXTAREA"===t.tagName){var n=D(t.value);n&&(t.setAttribute(":value",S(n)),t.value="")}var r,i=t.hasAttributes(),o=i&&m(t.attributes);return i&&(r=nn(t,o,e)),r||(r=tn(t,e)),r||(r=en(t,e)),!r&&i&&(r=sn(o,e)),r}function Xe(t,e){if(t._skip)return Je;var n=D(t.wholeText);if(!n)return null;for(var r=t.nextSibling;r&&3===r.nodeType;)r._skip=!0,r=r.nextSibling;for(var i,o,s=document.createDocumentFragment(),a=0,u=n.length;a<u;a++)o=n[a],i=o.tag?Ye(o,e):document.createTextNode(o.value),s.appendChild(i);return Ge(n,s,e)}function Je(t,e){Q(e)}function Ye(t,e){function n(e){if(!t.descriptor){var n=O(t.value);t.descriptor={name:e,def:Oo[e],expression:n.expression,filters:n.filters}}}var r;return t.oneTime?r=document.createTextNode(t.value):t.html?(r=document.createComment("v-html"),n("html")):(r=document.createTextNode(" "),n("text")),r}function Ge(t,e){return function(n,r,i,o){for(var s,a,c,l=e.cloneNode(!0),f=m(l.childNodes),h=0,p=t.length;h<p;h++)s=t[h],a=s.value,s.tag&&(c=f[h],s.oneTime?(a=(o||n).$eval(a),s.html?J(c,te(a,!0)):c.data=u(a)):n._bindDir(s.descriptor,c,i,o));J(r,l)}}function Ze(t,e){for(var n,r,i,o=[],s=0,a=t.length;s<a;s++)i=t[s],n=ze(i,e),r=n&&n.terminal||"SCRIPT"===i.tagName||!i.hasChildNodes()?null:Ze(i.childNodes,e),o.push(n,r);return o.length?Ke(o):null}function Ke(t){return function(e,n,r,i,o){for(var s,a,u,c=0,l=0,f=t.length;c<f;l++){s=n[l],a=t[c++],u=t[c++];var h=m(s.childNodes);a&&a(e,s,r,i,o),u&&u(e,h,r,i,o)}}}function tn(t,e){var n=t.tagName.toLowerCase();if(!Lr.test(n)){var r=_t(e,"elementDirectives",n);return r?on(t,n,"",e,r):void 0}}function en(t,e){var n=ht(t,e);if(n){var r=at(t),i={name:"component",ref:r,expression:n.id,def:Xo.component,modifiers:{literal:!n.dynamic}},o=function(t,e,n,o,s){r&&kt((o||t).$refs,r,null),t._bindDir(i,e,n,o,s)};return o.terminal=!0,o}}function nn(t,e,n){if(null!==V(t,"v-pre"))return rn;if(t.hasAttribute("v-else")){var r=t.previousElementSibling;if(r&&r.hasAttribute("v-if"))return rn}for(var i,o,s,a,u,c,l,f,h,p,d=0,v=e.length;d<v;d++)i=e[d],o=i.name.replace(Zo,""),(u=o.match(Go))&&(h=_t(n,"directives",u[1]),h&&h.terminal&&(!p||(h.priority||es)>p.priority)&&(p=h,l=i.name,a=an(i.name),s=i.value,c=u[1],f=u[2]));return p?on(t,c,s,n,p,l,f,a):void 0}function rn(){}function on(t,e,n,r,i,o,s,a){var u=O(n),c={name:e,arg:s,expression:u.expression,filters:u.filters,raw:n,attr:o,modifiers:a,def:i};"for"!==e&&"router-view"!==e||(c.ref=at(t));var l=function(t,e,n,r,i){c.ref&&kt((r||t).$refs,c.ref,null),t._bindDir(c,e,n,r,i)};return l.terminal=!0,l}function sn(t,e){function r(t,e,n){var r=n&&cn(n),i=!r&&O(s);g.push({name:t,attr:a,raw:u,def:e,arg:l,modifiers:f,expression:i&&i.expression,filters:i&&i.filters,interp:n,hasOneTime:r})}for(var i,o,s,a,u,c,l,f,h,p,d,v=t.length,g=[];v--;)if(i=t[v],o=a=i.name,s=u=i.value,p=D(s),l=null,f=an(o),o=o.replace(Zo,""),p)s=S(p),l=o,r("bind",Oo.bind,p),"production"!==n.env.NODE_ENV&&"class"===o&&Array.prototype.some.call(t,function(t){return":class"===t.name||"v-bind:class"===t.name})&&Dr('class="'+u+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.',e);else if(Ko.test(o))f.literal=!Jo.test(o),r("transition",Xo.transition);else if(Yo.test(o))l=o.replace(Yo,""),r("on",Oo.on);else if(Jo.test(o))c=o.replace(Jo,""),"style"===c||"class"===c?r(c,Xo[c]):(l=c,r("bind",Oo.bind));else if(d=o.match(Go)){if(c=d[1],l=d[2],"else"===c)continue;h=_t(e,"directives",c,!0),h&&r(c,h)}if(g.length)return un(g)}function an(t){var e=Object.create(null),n=t.match(Zo);if(n)for(var r=n.length;r--;)e[n[r].slice(1)]=!0;return e}function un(t){return function(e,n,r,i,o){for(var s=t.length;s--;)e._bindDir(t[s],n,r,i,o)}}function cn(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function ln(t){return"SCRIPT"===t.tagName&&(!t.hasAttribute("type")||"text/javascript"===t.getAttribute("type"))}function fn(t,e){return e&&(e._containerAttrs=pn(t)),ot(t)&&(t=te(t)),e&&(e._asComponent&&!e.template&&(e.template="<slot></slot>"),e.template&&(e._content=nt(t),t=hn(t,e))),lt(t)&&(X(st("v-start",!0),t),t.appendChild(st("v-end",!0))),t}function hn(t,e){var r=e.template,i=te(r,!0);if(i){var o=i.firstChild,s=o.tagName&&o.tagName.toLowerCase();return e.replace?(t===document.body&&"production"!==n.env.NODE_ENV&&Dr("You are mounting an instance with a template to <body>. This will replace <body> entirely. You should probably use `replace: false` here."),i.childNodes.length>1||1!==o.nodeType||"component"===s||_t(e,"components",s)||B(o,"is")||_t(e,"elementDirectives",s)||o.hasAttribute("v-for")||o.hasAttribute("v-if")?i:(e._replacerAttrs=pn(o),dn(t,o),o)):(t.appendChild(i),t)}"production"!==n.env.NODE_ENV&&Dr("Invalid template option: "+r)}function pn(t){if(1===t.nodeType&&t.hasAttributes())return m(t.attributes)}function dn(t,e){for(var n,r,i=t.attributes,o=i.length;o--;)n=i[o].name,r=i[o].value,e.hasAttribute(n)||ns.test(n)?"class"===n&&!D(r)&&(r=r.trim())&&r.split(/\s+/).forEach(function(t){tt(e,t)}):e.setAttribute(n,r)}function vn(t,e){if(e){for(var r,i,o=t._slotContents=Object.create(null),s=0,a=e.children.length;s<a;s++)r=e.children[s],(i=r.getAttribute("slot"))&&(o[i]||(o[i]=[])).push(r),"production"!==n.env.NODE_ENV&&M(r,"slot")&&Dr('The "slot" attribute must be static.',t.$parent);for(i in o)o[i]=gn(o[i],e);if(e.hasChildNodes()){var u=e.childNodes;if(1===u.length&&3===u[0].nodeType&&!u[0].data.trim())return;o["default"]=gn(e.childNodes,e)}}}function gn(t,e){var n=document.createDocumentFragment();t=m(t);for(var r=0,i=t.length;r<i;r++){var o=t[r];!ot(o)||o.hasAttribute("v-if")||o.hasAttribute("v-for")||(e.removeChild(o),o=te(o,!0)),n.appendChild(o)}return n}function mn(t){function e(){}function r(t,e){var n=new Xt(e,t,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),wt.target&&n.depend(),n.value}}Object.defineProperty(t.prototype,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),t.prototype._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},t.prototype._initProps=function(){var t=this.$options,e=t.el,r=t.props;r&&!e&&"production"!==n.env.NODE_ENV&&Dr("Props will not be compiled if no `el` option is provided at instantiation.",this),e=t.el=W(e),this._propsUnlinkFn=e&&1===e.nodeType&&r?Be(this,e,r,this._scope):null},t.prototype._initData=function(){var t=this,e=this.$options.data,r=this._data=e?e():{};_(r)||(r={},"production"!==n.env.NODE_ENV&&Dr("data functions should return an object.",this));var i,s,a=this._props,u=Object.keys(r);for(i=u.length;i--;)s=u[i],a&&o(a,s)?"production"!==n.env.NODE_ENV&&Dr('Data field "'+s+'" is already defined as a prop. To provide default value for a prop, use the "default" prop option; if you want to pass prop values to an instantiation call, use the "propsData" option.',t):t._proxy(s);$t(r,this)},t.prototype._setData=function(t){var e=this;t=t||{};var n=this._data;this._data=t;var r,i,s;for(r=Object.keys(n),s=r.length;s--;)i=r[s],i in t||e._unproxy(i);for(r=Object.keys(t),s=r.length;s--;)i=r[s],o(e,i)||e._proxy(i);n.__ob__.removeVm(this),$t(t,this),this._digest()},t.prototype._proxy=function(t){if(!a(t)){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}},t.prototype._unproxy=function(t){a(t)||delete this[t]},t.prototype._digest=function(){for(var t=this,e=0,n=this._watchers.length;e<n;e++)t._watchers[e].update(!0)},t.prototype._initComputed=function(){var t=this,n=this.$options.computed;if(n)for(var i in n){var o=n[i],s={enumerable:!0,configurable:!0};"function"==typeof o?(s.get=r(o,t),s.set=e):(s.get=o.get?o.cache!==!1?r(o.get,t):g(o.get,t):e,s.set=o.set?g(o.set,t):e),Object.defineProperty(t,i,s)}},t.prototype._initMethods=function(){var t=this,e=this.$options.methods;if(e)for(var n in e)t[n]=g(e[n],t)},t.prototype._initMeta=function(){var t=this,e=this.$options._meta;if(e)for(var n in e)kt(t,n,e[n])}}function yn(t){function e(t,e){for(var n,r,i,o=e.attributes,s=0,a=o.length;s<a;s++)n=o[s].name,is.test(n)&&(n=n.replace(is,""),r=o[s].value,Mt(r)&&(r+=".apply(this, $arguments)"),i=(t._scope||t._context).$eval(r,!0),i._fromParent=!0,t.$on(n.replace(is),i))}function r(t,e,n){if(n){var r,o,s,a;for(o in n)if(r=n[o],Wn(r))for(s=0,a=r.length;s<a;s++)i(t,e,o,r[s]);else i(t,e,o,r)}}function i(t,e,r,o,s){var a=typeof o;if("function"===a)t[e](r,o,s);else if("string"===a){var u=t.$options.methods,c=u&&u[o];c?t[e](r,c,s):"production"!==n.env.NODE_ENV&&Dr('Unknown method: "'+o+'" when registering callback for '+e+': "'+r+'".',t)}else o&&"object"===a&&i(t,e,r,o.handler,o)}function o(){this._isAttached||(this._isAttached=!0,this.$children.forEach(s))}function s(t){!t._isAttached&&q(t.$el)&&t._callHook("attached")}function a(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(u))}function u(t){t._isAttached&&!q(t.$el)&&t._callHook("detached")}t.prototype._initEvents=function(){var t=this.$options;t._asComponent&&e(this,t.el),r(this,"$on",t.events),r(this,"$watch",t.watch)},t.prototype._initDOMHooks=function(){this.$on("hook:attached",o),this.$on("hook:detached",a)},t.prototype._callHook=function(t){var e=this;this.$emit("pre-hook:"+t);var n=this.$options[t];if(n)for(var r=0,i=n.length;r<i;r++)n[r].call(e);this.$emit("hook:"+t)}}function bn(){}function _n(t,e,r,i,o,s){this.vm=e,this.el=r,this.descriptor=t,this.name=t.name,this.expression=t.expression,this.arg=t.arg,this.modifiers=t.modifiers,this.filters=t.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=i,this._scope=o,this._frag=s,"production"!==n.env.NODE_ENV&&this.el&&(this.el._vue_directives=this.el._vue_directives||[],this.el._vue_directives.push(this))}function wn(t){t.prototype._updateRef=function(t){var e=this.$options._ref;if(e){var n=(this._scope||this._context).$refs;t?n[e]===this&&(n[e]=null):n[e]=this}},t.prototype._compile=function(t){var e=this.$options,n=t;if(t=fn(t,e),this._initElement(t),1!==t.nodeType||null===V(t,"v-pre")){var r=this._context&&this._context.$options,i=Ue(t,e,r);vn(this,e._content);var o,s=this.constructor;e._linkerCachable&&(o=s.linker,o||(o=s.linker=He(t,e)));var a=i(this,t,this._scope),u=o?o(this,t):He(t,e)(this,t);this._unlinkFn=function(){a(),u(!0)},e.replace&&J(n,t),this._isCompiled=!0,this._callHook("compiled")}},t.prototype._initElement=function(t){lt(t)?(this._isFragment=!0,this.$el=this._fragmentStart=t.firstChild,this._fragmentEnd=t.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},t.prototype._bindDir=function(t,e,n,r,i){this._directives.push(new _n(t,this,e,n,r,i))},t.prototype._destroy=function(t,e){var n=this;if(this._isBeingDestroyed)return void(e||this._cleanup());var r,i,o=this,s=function(){!r||i||e||o._cleanup()};t&&this.$el&&(i=!0,this.$remove(function(){i=!1,s()})),this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var a,u=this.$parent;for(u&&!u._isBeingDestroyed&&(u.$children.$remove(this),this._updateRef(!0)),a=this.$children.length;a--;)n.$children[a].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),a=this._watchers.length;a--;)n._watchers[a].teardown();this.$el&&(this.$el.__vue__=null),r=!0,s()},t.prototype._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data&&this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}}function xn(t){t.prototype._applyFilters=function(t,e,n,r){var i,o,s,a,u,c,l,f,h,p=this;for(c=0,l=n.length;c<l;c++)if(i=n[r?l-c-1:c],o=_t(p.$options,"filters",i.name,!0),o&&(o=r?o.write:o.read||o,"function"==typeof o)){if(s=r?[t,e]:[t],u=r?2:1,i.args)for(f=0,h=i.args.length;f<h;f++)a=i.args[f],s[f+u]=a.dynamic?p.$get(a.value):a.value;t=o.apply(p,s)}return t},t.prototype._resolveComponent=function(e,r){var i;if(i="function"==typeof e?e:_t(this.$options,"components",e,!0))if(i.options)r(i);else if(i.resolved)r(i.resolved);else if(i.requested)i.pendingCallbacks.push(r);else{i.requested=!0;var o=i.pendingCallbacks=[r];i.call(this,function(e){_(e)&&(e=t.extend(e)),i.resolved=e;for(var n=0,r=o.length;n<r;n++)o[n](e)},function(t){"production"!==n.env.NODE_ENV&&Dr("Failed to resolve async component"+("string"==typeof e?": "+e:"")+". "+(t?"\nReason: "+t:""))})}}}function Cn(t){function e(t){return JSON.parse(JSON.stringify(t))}t.prototype.$get=function(t,e){var n=Vt(t);if(n){if(e){var r=this;return function(){r.$arguments=m(arguments);var t=n.get.call(r,r);return r.$arguments=null,t}}try{return n.get.call(this,this)}catch(i){}}},t.prototype.$set=function(t,e){var n=Vt(t,!0);n&&n.set&&n.set.call(this,this,e)},t.prototype.$delete=function(t){i(this._data,t)},t.prototype.$watch=function(t,e,n){var r,i=this;"string"==typeof t&&(r=O(t),t=r.expression);var o=new Xt(i,t,e,{deep:n&&n.deep,sync:n&&n.sync,filters:r&&r.filters,user:!n||n.user!==!1});return n&&n.immediate&&e.call(i,o.value),function(){o.teardown()}},t.prototype.$eval=function(t,e){if(os.test(t)){var n=O(t),r=this.$get(n.expression,e);return n.filters?this._applyFilters(r,null,n.filters):r}return this.$get(t,e)},t.prototype.$interpolate=function(t){var e=D(t),n=this;return e?1===e.length?n.$eval(e[0].value)+"":e.map(function(t){return t.tag?n.$eval(t.value):t.value}).join(""):t},t.prototype.$log=function(t){var n=this,r=t?St(this._data,t):this._data;if(r&&(r=e(r)),!t){var i;for(i in this.$options.computed)r[i]=e(n[i]);if(this._props)for(i in this._props)r[i]=e(n[i])}}}function Tn(t){function e(t,e,r,i,o,s){e=n(e);var a=!q(e),u=i===!1||a?o:s,c=!a&&!t._isAttached&&!q(t.$el);return t._isFragment?(ut(t._fragmentStart,t._fragmentEnd,function(n){u(n,e,t)}),r&&r()):u(t.$el,e,t,r),c&&t._callHook("attached"),t}function n(t){return"string"==typeof t?document.querySelector(t):t}function r(t,e,n,r){e.appendChild(t),r&&r()}function i(t,e,n,r){U(t,e),r&&r()}function o(t,e,n){Q(t),n&&n()}t.prototype.$nextTick=function(t){ir(t,this)},t.prototype.$appendTo=function(t,n,i){return e(this,t,n,i,r,L)},t.prototype.$prependTo=function(t,e,r){return t=n(t),t.hasChildNodes()?this.$before(t.firstChild,e,r):this.$appendTo(t,e,r),this},t.prototype.$before=function(t,n,r){return e(this,t,n,r,i,P)},t.prototype.$after=function(t,e,r){return t=n(t),t.nextSibling?this.$before(t.nextSibling,e,r):this.$appendTo(t.parentNode,e,r),this},t.prototype.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var n=this._isAttached&&q(this.$el);n||(e=!1);var r=this,i=function(){n&&r._callHook("detached"),t&&t()};if(this._isFragment)ct(this._fragmentStart,this._fragmentEnd,this,this._fragment,i);else{var s=e===!1?o:F;s(this.$el,this,i)}return this}}function En(t){function e(t,e,r){var i=t.$parent;if(i&&r&&!n.test(e))for(;i;)i._eventsCount[e]=(i._eventsCount[e]||0)+r,i=i.$parent}t.prototype.$on=function(t,n){return(this._events[t]||(this._events[t]=[])).push(n),e(this,t,1),this},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(this,arguments)}var r=this;return n.fn=e,this.$on(t,n),this},t.prototype.$off=function(t,n){var r,i=this;if(!arguments.length){if(this.$parent)for(t in this._events)r=i._events[t],r&&e(i,t,-r.length);return this._events={},this}if(r=this._events[t],!r)return this;if(1===arguments.length)return e(this,t,-r.length),this._events[t]=null,this;for(var o,s=r.length;s--;)if(o=r[s],o===n||o.fn===n){e(i,t,-1),r.splice(s,1);break}return this},t.prototype.$emit=function(t){var e=this,n="string"==typeof t;t=n?t:t.name;var r=this._events[t],i=n||!r;if(r){r=r.length>1?m(r):r;var o=n&&r.some(function(t){return t._fromParent});o&&(i=!1);for(var s=m(arguments,1),a=0,u=r.length;a<u;a++){var c=r[a],l=c.apply(e,s);l!==!0||o&&!c._fromParent||(i=!0)}}return i},t.prototype.$broadcast=function(t){var e="string"==typeof t;if(t=e?t:t.name,this._eventsCount[t]){var n=this.$children,r=m(arguments);e&&(r[0]={name:t,source:this});for(var i=0,o=n.length;i<o;i++){var s=n[i],a=s.$emit.apply(s,r);a&&s.$broadcast.apply(s,r)}return this}},t.prototype.$dispatch=function(t){var e=this.$emit.apply(this,arguments);if(e){var n=this.$parent,r=m(arguments);for(r[0]={name:t,source:this};n;)e=n.$emit.apply(n,r),n=e?n.$parent:null;return this}};var n=/^hook:/}function $n(t){function e(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}t.prototype.$mount=function(t){return this._isCompiled?void("production"!==n.env.NODE_ENV&&Dr("$mount() should be called only once.",this)):(t=W(t),t||(t=document.createElement("div")),this._compile(t),this._initDOMHooks(),q(this.$el)?(this._callHook("attached"),e.call(this)):this.$once("hook:attached",e),this)},t.prototype.$destroy=function(t,e){this._destroy(t,e)},t.prototype.$compile=function(t,e,n,r){return He(t,this.$options,!0)(this,t,e,n,r)}}function kn(t){this._init(t)}function Nn(t,e,n){return n=n?parseInt(n,10):0,e=c(e),"number"==typeof e?t.slice(n,n+e):t}function On(t,e,n){if(t=cs(t),null==e)return t;if("function"==typeof e)return t.filter(e);e=(""+e).toLowerCase();for(var r,i,o,s,a="in"===n?3:2,u=Array.prototype.concat.apply([],m(arguments,a)),c=[],l=0,f=t.length;l<f;l++)if(r=t[l],o=r&&r.$value||r,s=u.length){for(;s--;)if(i=u[s],"$key"===i&&jn(r.$key,e)||jn(St(o,i),e)){c.push(r);break}}else jn(r,e)&&c.push(r);return c}function An(t){function e(t,e,n){var i=r[n];return i&&("$key"!==i&&(b(t)&&"$value"in t&&(t=t.$value),b(e)&&"$value"in e&&(e=e.$value)),t=b(t)?St(t,i):t,e=b(e)?St(e,i):e),t===e?0:t>e?o:-o}var n=null,r=void 0;t=cs(t);var i=m(arguments,1),o=i[i.length-1];"number"==typeof o?(o=o<0?-1:1,i=i.length>1?i.slice(0,-1):i):o=1;var s=i[0];return s?("function"==typeof s?n=function(t,e){return s(t,e)*o}:(r=Array.prototype.concat.apply([],i),n=function(t,i,o){return o=o||0,o>=r.length-1?e(t,i,o):e(t,i,o)||n(t,i,o+1)}),t.slice().sort(n)):t}function jn(t,e){var n;if(_(t)){var r=Object.keys(t);for(n=r.length;n--;)if(jn(t[r[n]],e))return!0}else if(Wn(t)){for(n=t.length;n--;)if(jn(t[n],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function Dn(t){function e(t){return new Function("return function "+v(t)+" (options) { this._init(options) }")()}t.options={directives:Oo,elementDirectives:us,filters:fs,transitions:{},components:{},partials:{},replace:!0},t.util=zr,t.config=jr,t.set=r,t["delete"]=i,t.nextTick=ir,t.compiler=rs,t.FragmentFactory=ue,t.internalDirectives=Xo,t.parsers={path:li,text:Nr,template:qi,directive:xr,expression:Ti},t.cid=0;var o=1;t.extend=function(t){t=t||{};var r=this,i=0===r.cid;if(i&&t._Ctor)return t._Ctor;var s=t.name||r.options.name;"production"!==n.env.NODE_ENV&&(/^[a-zA-Z][\w-]*$/.test(s)||(Dr('Invalid component name: "'+s+'". Component names can only contain alphanumeric characaters and the hyphen.'),s=null));var a=e(s||"VueComponent");return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=o++,a.options=bt(r.options,t),a["super"]=r,a.extend=r.extend,jr._assetTypes.forEach(function(t){a[t]=r[t]}),s&&(a.options.components[s]=a),i&&(t._Ctor=a),a},t.use=function(t){if(!t.installed){var e=m(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},t.mixin=function(e){t.options=bt(t.options,e)},jr._assetTypes.forEach(function(e){t[e]=function(r,i){return i?("production"!==n.env.NODE_ENV&&"component"===e&&(Lr.test(r)||Pr.test(r))&&Dr("Do not use built-in or reserved HTML elements as component id: "+r),"component"===e&&_(i)&&(i.name||(i.name=r),i=t.extend(i)),this.options[e+"s"][r]=i,i):this.options[e+"s"][r]}}),y(t.transition,Ir)}var Sn=Object.prototype.hasOwnProperty,In=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Rn=/-(\w)/g,Ln=/([a-z\d])([A-Z])/g,Pn=/(?:^|[-_\/])(\w)/g,Fn=Object.prototype.toString,Hn="[object Object]",Wn=Array.isArray,qn="__proto__"in{},Vn="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Mn=Vn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Bn=Vn&&window.navigator.userAgent.toLowerCase(),Un=Bn&&Bn.indexOf("trident")>0,zn=Bn&&Bn.indexOf("msie 9.0")>0,Qn=Bn&&Bn.indexOf("android")>0,Xn=Bn&&/(iphone|ipad|ipod|ios)/i.test(Bn),Jn=Xn&&Bn.match(/os ([\d_]+)/),Yn=Jn&&Jn[1].split("_"),Gn=Yn&&Number(Yn[0])>=9&&Number(Yn[1])>=3&&!window.indexedDB,Zn=void 0,Kn=void 0,tr=void 0,er=void 0;if(Vn&&!zn){var nr=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,rr=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;Zn=nr?"WebkitTransition":"transition",Kn=nr?"webkitTransitionEnd":"transitionend",tr=rr?"WebkitAnimation":"animation",er=rr?"webkitAnimationEnd":"animationend"}var ir=function(){function t(){i=!1;var t=r.slice(0);r=[];for(var e=0;e<t.length;e++)t[e]()}var n,r=[],i=!1;if("undefined"==typeof MutationObserver||Gn){var o=Vn?window:"undefined"!=typeof e?e:{};n=o.setImmediate||setTimeout}else{var s=1,a=new MutationObserver(t),u=document.createTextNode(s);a.observe(u,{characterData:!0}),n=function(){s=(s+1)%2,u.data=s}}return function(e,o){var s=o?function(){e.call(o)}:e;r.push(s),i||(i=!0,n(t,0))}}(),or=void 0;"undefined"!=typeof Set&&Set.toString().match(/native code/)?or=Set:(or=function(){this.set=Object.create(null)},or.prototype.has=function(t){return void 0!==this.set[t]},or.prototype.add=function(t){this.set[t]=1},or.prototype.clear=function(){this.set=Object.create(null)});var sr=$.prototype;sr.put=function(t,e){var n,r=this.get(t,!0);return r||(this.size===this.limit&&(n=this.shift()),r={key:t},this._keymap[t]=r,this.tail?(this.tail.newer=r,r.older=this.tail):this.head=r,this.tail=r,this.size++),r.value=e,n},sr.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0,this.size--),t},sr.get=function(t,e){var n=this._keymap[t];if(void 0!==n)return n===this.tail?e?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)};var ar,ur,cr,lr,fr,hr,pr,dr,vr,gr,mr,yr,br=new $(1e3),_r=/[^\s'"]+|'[^']*'|"[^"]*"/g,wr=/^in$|^-?\d+/,xr=Object.freeze({parseDirective:O}),Cr=/[-.*+?^${}()|[\]\/\\]/g,Tr=void 0,Er=void 0,$r=void 0,kr=/[^|]\|[^|]/,Nr=Object.freeze({compileRegex:j,parseText:D,tokensToExp:S}),Or=["{{","}}"],Ar=["{{{","}}}"],jr=Object.defineProperties({debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,devtools:"production"!==n.env.NODE_ENV,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100},{delimiters:{get:function(){return Or},set:function(t){Or=t,j()},configurable:!0,enumerable:!0},unsafeDelimiters:{get:function(){return Ar},set:function(t){Ar=t,j()},configurable:!0,enumerable:!0}}),Dr=void 0,Sr=void 0;"production"!==n.env.NODE_ENV&&!function(){var t="undefined"!=typeof console;Dr=function(e,n){t&&!jr.silent},Sr=function(t){var e=t._isVue?t.$options.name:t.name;return e?" (found in component: <"+d(e)+">)":""}}();var Ir=Object.freeze({appendWithTransition:L,beforeWithTransition:P,removeWithTransition:F,applyTransition:H}),Rr=/^v-ref:/,Lr=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,Pr=/^(slot|partial|component)$/i,Fr=void 0;"production"!==n.env.NODE_ENV&&(Fr=function(t,e){return e.indexOf("-")>-1?t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:/HTMLUnknownElement/.test(t.toString())&&!/^(data|time|rtc|rb|details|dialog|summary)$/.test(e);
0 ignored issues
show
Best Practice introduced by
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
Unused Code introduced by
The parameter n is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Complexity Best Practice introduced by
There is no return statement if null != t is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style Comprehensibility Best Practice introduced by
Empty catch clauses should be used with caution; consider adding a comment why this is needed.
Loading history...
Bug introduced by
The call to n seems to have too many arguments starting with t.
Loading history...
Bug introduced by
The variable a seems to not be initialized for all possible execution paths. Are you sure on handles undefined variables?
Loading history...
Complexity Best Practice introduced by
There is no return statement if n.indexOf(e.keyCode) > -1 is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if e.target === e.currentTarget is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if !Lr.test(n) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Performance Best Practice introduced by
Using new Function() to create a function is slow and difficult to debug. Such functions do not create a closure. Consider using another way to define your function.
Loading history...
Complexity Best Practice introduced by
There is no return statement if t = e ? t: t.name, this._eventsCount.t is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if !t.installed is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Unused Code introduced by
The variable o seems to be never used. Consider removing it.
Loading history...
Bug introduced by
The variable l seems to not be initialized for all possible execution paths. Are you sure on handles undefined variables?
Loading history...
Coding Style Best Practice introduced by
Using the Array constructor is generally discouraged. Consider using an array literal instead.
Loading history...
Complexity introduced by
A for in loop automatically includes the property of any prototype object, consider checking the key using hasOwnProperty.

When iterating over the keys of an object, this includes not only the keys of the object, but also keys contained in the prototype of that object. It is generally a best practice to check for these keys specifically:

var someObject;
for (var key in someObject) {
    if ( ! someObject.hasOwnProperty(key)) {
        continue; // Skip keys from the prototype.
    }

    doSomethingWith(key);
}
Loading history...
Comprehensibility Best Practice introduced by
You seem to be aliasing the built-in name Set as or. This makes your code very difficult to follow, consider using the built-in name directly.
Loading history...
Complexity Best Practice introduced by
There is no return statement if g.length is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable n seems to not be initialized for all possible execution paths.
Loading history...
Bug introduced by
The variable r seems to not be initialized for all possible execution paths. Are you sure Ve handles undefined variables?
Loading history...
Bug introduced by
The variable c seems to not be initialized for all possible execution paths. Are you sure on handles undefined variables?
Loading history...
Bug introduced by
The variable MutationObserver seems to be never declared. If this is a global, consider adding a /** global: MutationObserver */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Coding Style introduced by
Consider using undefined instead of void(0). It is equivalent and more straightforward to read.
Loading history...
Unused Code introduced by
The parameter e is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
Best Practice introduced by
If you intend to check if the variable setTimeout is declared in the current environment, consider using typeof setTimeout === "undefined" instead. This is safe if the variable is not actually declared.
Loading history...
Bug introduced by
The variable s seems to not be initialized for all possible execution paths. Are you sure on handles undefined variables?
Loading history...
Complexity Best Practice introduced by
There is no return statement if 1 === t.nodeType && t.hasAttributes() is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if n is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if void(0) !== n is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Bug introduced by
The variable f seems to not be initialized for all possible execution paths. Are you sure on handles undefined variables?
Loading history...
Bug introduced by
The call to Ge seems to have too many arguments starting with e.
Loading history...
Complexity Best Practice introduced by
There is no return statement if r is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity Best Practice introduced by
There is no return statement if e is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Unused Code introduced by
The variable Sr seems to be never used. Consider removing it.
Loading history...
Bug introduced by
The variable r seems to not be initialized for all possible execution paths.
Loading history...
9
});var Hr=jr.optionMergeStrategies=Object.create(null);Hr.data=function(t,e,r){return r?t||e?function(){var n="function"==typeof e?e.call(r):e,i="function"==typeof t?t.call(r):void 0;return n?dt(n,i):i}:void 0:e?"function"!=typeof e?("production"!==n.env.NODE_ENV&&Dr('The "data" option should be a function that returns a per-instance value in component definitions.',r),t):t?function(){return dt(e.call(this),t.call(this))}:e:t},Hr.el=function(t,e,r){if(!r&&e&&"function"!=typeof e)return void("production"!==n.env.NODE_ENV&&Dr('The "el" option should be a function that returns a per-instance value in component definitions.',r));var i=e||t;return r&&"function"==typeof i?i.call(r):i},Hr.init=Hr.created=Hr.ready=Hr.attached=Hr.detached=Hr.beforeCompile=Hr.compiled=Hr.beforeDestroy=Hr.destroyed=Hr.activate=function(t,e){return e?t?t.concat(e):Wn(e)?e:[e]:t},jr._assetTypes.forEach(function(t){Hr[t+"s"]=vt}),Hr.watch=Hr.events=function(t,e){if(!e)return t;if(!t)return e;var n={};y(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Wn(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},Hr.props=Hr.methods=Hr.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return y(n,t),y(n,e),n};var Wr=function(t,e){return void 0===e?t:e},qr=0;wt.target=null,wt.prototype.addSub=function(t){this.subs.push(t)},wt.prototype.removeSub=function(t){this.subs.$remove(t)},wt.prototype.depend=function(){wt.target.addDep(this)},wt.prototype.notify=function(){for(var t=m(this.subs),e=0,n=t.length;e<n;e++)t[e].update()};var Vr=Array.prototype,Mr=Object.create(Vr);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Vr[t];w(Mr,t,function(){for(var n=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=n[r];var o,s=e.apply(this,i),a=this.__ob__;switch(t){case"push":o=i;break;case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&a.observeArray(o),a.dep.notify(),s})}),w(Vr,"$set",function(t,e){return t>=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),w(Vr,"$remove",function(t){if(this.length){var e=C(this,t);return e>-1?this.splice(e,1):void 0}});var Br=Object.getOwnPropertyNames(Mr),Ur=!0;Ct.prototype.walk=function(t){for(var e=this,n=Object.keys(t),r=0,i=n.length;r<i;r++)e.convert(n[r],t[n[r]])},Ct.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)$t(t[e])},Ct.prototype.convert=function(t,e){kt(this.value,t,e)},Ct.prototype.addVm=function(t){(this.vms||(this.vms=[])).push(t)},Ct.prototype.removeVm=function(t){this.vms.$remove(t)};var zr=Object.freeze({defineReactive:kt,set:r,del:i,hasOwn:o,isLiteral:s,isReserved:a,_toString:u,toNumber:c,toBoolean:l,stripQuotes:f,camelize:h,hyphenate:d,classify:v,bind:g,toArray:m,extend:y,isObject:b,isPlainObject:_,def:w,debounce:x,indexOf:C,cancellable:T,looseEqual:E,isArray:Wn,hasProto:qn,inBrowser:Vn,devtools:Mn,isIE:Un,isIE9:zn,isAndroid:Qn,isIos:Xn,iosVersionMatch:Jn,iosVersion:Yn,hasMutationObserverBug:Gn,get transitionProp(){return Zn},get transitionEndEvent(){return Kn},get animationProp(){return tr},get animationEndEvent(){return er},nextTick:ir,get _Set(){return or},query:W,inDoc:q,getAttr:V,getBindAttr:M,hasBindAttr:B,before:U,after:z,remove:Q,prepend:X,replace:J,on:Y,off:G,setClass:K,addClass:tt,removeClass:et,extractContent:nt,trimNode:rt,isTemplate:ot,createAnchor:st,findRef:at,mapNodeRange:ut,removeNodeRange:ct,isFragment:lt,getOuterHTML:ft,mergeOptions:bt,resolveAsset:_t,checkComponentAttr:ht,commonTagRE:Lr,reservedTagRE:Pr,get warn(){return Dr}}),Qr=0,Xr=new $(1e3),Jr=0,Yr=1,Gr=2,Zr=3,Kr=0,ti=1,ei=2,ni=3,ri=4,ii=5,oi=6,si=7,ai=8,ui=[];ui[Kr]={ws:[Kr],ident:[ni,Jr],"[":[ri],eof:[si]},ui[ti]={ws:[ti],".":[ei],"[":[ri],eof:[si]},ui[ei]={ws:[ei],ident:[ni,Jr]},ui[ni]={ident:[ni,Jr],0:[ni,Jr],number:[ni,Jr],ws:[ti,Yr],".":[ei,Yr],"[":[ri,Yr],eof:[si,Yr]},ui[ri]={"'":[ii,Jr],'"':[oi,Jr],"[":[ri,Gr],"]":[ti,Zr],eof:ai,"else":[ri,Jr]},ui[ii]={"'":[ri,Jr],eof:ai,"else":[ii,Jr]},ui[oi]={'"':[ri,Jr],eof:ai,"else":[oi,Jr]};var ci;"production"!==n.env.NODE_ENV&&(ci=function(t,e){Dr('You are setting a non-existent path "'+t.raw+'" on a vm instance. Consider pre-initializing the property with the "data" option for more reliable reactivity and better performance.',e)});var li=Object.freeze({parsePath:Dt,getPath:St,setPath:It}),fi=new $(1e3),hi="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",pi=new RegExp("^("+hi.replace(/,/g,"\\b|")+"\\b)"),di="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,protected,static,interface,private,public",vi=new RegExp("^("+di.replace(/,/g,"\\b|")+"\\b)"),gi=/\s/g,mi=/\n/g,yi=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,bi=/"(\d+)"/g,_i=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,wi=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,xi=/^(?:true|false|null|undefined|Infinity|NaN)$/,Ci=[],Ti=Object.freeze({parseExpression:Vt,isSimplePath:Mt}),Ei=[],$i=[],ki={},Ni={},Oi=!1,Ai=0;Xt.prototype.get=function(){this.beforeGet();var t,e=this.scope||this.vm;try{t=this.getter.call(e,e)}catch(r){"production"!==n.env.NODE_ENV&&jr.warnExpressionErrors&&Dr('Error when evaluating expression "'+this.expression+'": '+r.toString(),this.vm)}return this.deep&&Jt(t),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=e._applyFilters(t,null,this.filters,!1)),this.postProcess&&(t=this.postProcess(t)),this.afterGet(),t},Xt.prototype.set=function(t){var e=this.scope||this.vm;this.filters&&(t=e._applyFilters(t,this.value,this.filters,!0));try{this.setter.call(e,e,t)}catch(r){"production"!==n.env.NODE_ENV&&jr.warnExpressionErrors&&Dr('Error when evaluating setter "'+this.expression+'": '+r.toString(),this.vm)}var i=e.$forContext;if(i&&i.alias===this.expression){if(i.filters)return void("production"!==n.env.NODE_ENV&&Dr("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead.",this.vm));i._withLock(function(){e.$key?i.rawValue[e.$key]=t:i.rawValue.$set(e.$index,t)})}},Xt.prototype.beforeGet=function(){wt.target=this},Xt.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Xt.prototype.afterGet=function(){var t=this;wt.target=null;for(var e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},Xt.prototype.update=function(t){this.lazy?this.dirty=!0:this.sync||!jr.async?this.run():(this.shallow=this.queued?!!t&&this.shallow:!!t,this.queued=!0,"production"!==n.env.NODE_ENV&&jr.debug&&(this.prevError=new Error("[vue] async stack trace")),Qt(this))},Xt.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||(b(t)||this.deep)&&!this.shallow){var e=this.value;this.value=t;var r=this.prevError;if("production"!==n.env.NODE_ENV&&jr.debug&&r){this.prevError=null;try{this.cb.call(this.vm,t,e)}catch(i){throw ir(function(){throw r},0),i}}else this.cb.call(this.vm,t,e)}this.queued=this.shallow=!1}},Xt.prototype.evaluate=function(){var t=wt.target;this.value=this.get(),this.dirty=!1,wt.target=t},Xt.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},Xt.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||this.vm._watchers.$remove(this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1,this.vm=this.cb=this.value=null}};var ji=new or,Di={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(t){this.el[this.attr]=u(t)}},Si=new $(1e3),Ii=new $(1e3),Ri={efault:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};Ri.td=Ri.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],Ri.option=Ri.optgroup=[1,'<select multiple="multiple">',"</select>"],Ri.thead=Ri.tbody=Ri.colgroup=Ri.caption=Ri.tfoot=[1,"<table>","</table>"],Ri.g=Ri.defs=Ri.symbol=Ri.use=Ri.image=Ri.text=Ri.circle=Ri.ellipse=Ri.line=Ri.path=Ri.polygon=Ri.polyline=Ri.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var Li=/<([\w:-]+)/,Pi=/&#?\w+?;/,Fi=/<!--/,Hi=function(){if(Vn){var t=document.createElement("div");return t.innerHTML="<template>1</template>",!t.cloneNode(!0).firstChild.innerHTML}return!1}(),Wi=function(){if(Vn){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}return!1}(),qi=Object.freeze({cloneNode:Kt,parseTemplate:te}),Vi={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=st("v-html"),J(this.el,this.anchor))},update:function(t){t=u(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this,n=this.nodes.length;n--;)Q(e.nodes[n]);var r=te(t,!0,!0);this.nodes=m(r.childNodes),U(r,this.anchor)}};ee.prototype.callHook=function(t){var e,n,r=this;for(e=0,n=this.childFrags.length;e<n;e++)r.childFrags[e].callHook(t);for(e=0,n=this.children.length;e<n;e++)t(r.children[e])},ee.prototype.beforeRemove=function(){var t,e,n=this;for(t=0,e=this.childFrags.length;t<e;t++)n.childFrags[t].beforeRemove(!1);for(t=0,e=this.children.length;t<e;t++)n.children[t].$destroy(!1,!0);var r=this.unlink.dirs;for(t=0,e=r.length;t<e;t++)r[t]._watcher&&r[t]._watcher.teardown()},ee.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var Mi=new $(5e3);ue.prototype.create=function(t,e,n){var r=Kt(this.template);return new ee(this.linker,this.vm,r,t,e,n)};var Bi=700,Ui=800,zi=850,Qi=1100,Xi=1500,Ji=1500,Yi=1750,Gi=2100,Zi=2200,Ki=2300,to=0,eo={priority:Zi,terminal:!0,params:["track-by","stagger","enter-stagger","leave-stagger"],bind:function(){var t=this.expression.match(/(.*) (?:in|of) (.*)/);if(t){var e=t[1].match(/\((.*),(.*)\)/);e?(this.iterator=e[1].trim(),this.alias=e[2].trim()):this.alias=t[1].trim(),this.expression=t[2]}if(!this.alias)return void("production"!==n.env.NODE_ENV&&Dr('Invalid v-for expression "'+this.descriptor.raw+'": alias is required.',this.vm));this.id="__v-for__"+ ++to;var r=this.el.tagName;this.isOption=("OPTION"===r||"OPTGROUP"===r)&&"SELECT"===this.el.parentNode.tagName,this.start=st("v-for-start"),this.end=st("v-for-end"),J(this.el,this.end),U(this.start,this.end),this.cache=Object.create(null),this.factory=new ue(this.vm,this.el)},update:function(t){this.diff(t),this.updateRef(),this.updateModel()},diff:function(t){var e,n,r,i,s,a,u=this,c=t[0],l=this.fromObject=b(c)&&o(c,"$key")&&o(c,"$value"),f=this.params.trackBy,h=this.frags,p=this.frags=new Array(t.length),d=this.alias,v=this.iterator,g=this.start,m=this.end,y=q(g),_=!h;for(e=0,n=t.length;e<n;e++)c=t[e],i=l?c.$key:null,s=l?c.$value:c,a=!b(s),r=!_&&u.getCachedFrag(s,e,i),r?(r.reused=!0,r.scope.$index=e,i&&(r.scope.$key=i),v&&(r.scope[v]=null!==i?i:e),(f||l||a)&&xt(function(){r.scope[d]=s})):(r=u.create(s,d,e,i),r.fresh=!_),p[e]=r,_&&r.before(m);if(!_){var w=0,x=h.length-p.length;for(this.vm._vForRemoving=!0,e=0,n=h.length;e<n;e++)r=h[e],r.reused||(u.deleteCachedFrag(r),u.remove(r,w++,x,y));this.vm._vForRemoving=!1,w&&(this.vm._watchers=this.vm._watchers.filter(function(t){return t.active}));var C,T,E,$=0;for(e=0,n=p.length;e<n;e++)r=p[e],C=p[e-1],T=C?C.staggerCb?C.staggerAnchor:C.end||C.node:g,r.reused&&!r.staggerCb?(E=ce(r,g,u.id),E===C||E&&ce(E,g,u.id)===C||u.move(r,T)):u.insert(r,$++,T,y),r.reused=r.fresh=!1}},create:function(t,e,n,r){var i=this._host,o=this._scope||this.vm,s=Object.create(o);s.$refs=Object.create(o.$refs),s.$els=Object.create(o.$els),s.$parent=o,s.$forContext=this,xt(function(){kt(s,e,t)}),kt(s,"$index",n),r?kt(s,"$key",r):s.$key&&w(s,"$key",null),this.iterator&&kt(s,this.iterator,null!==r?r:n);var a=this.factory.create(i,s,this._frag);return a.forId=this.id,this.cacheFrag(t,a,n,r),a},updateRef:function(){var t=this.descriptor.ref;if(t){var e,n=(this._scope||this.vm).$refs;this.fromObject?(e={},this.frags.forEach(function(t){e[t.scope.$key]=le(t)})):e=this.frags.map(le),n[t]=e}},updateModel:function(){if(this.isOption){var t=this.start.parentNode,e=t&&t.__v_model;e&&e.forceUpdate()}},insert:function(t,e,n,r){t.staggerCb&&(t.staggerCb.cancel(),t.staggerCb=null);var i=this.getStagger(t,e,null,"enter");if(r&&i){var o=t.staggerAnchor;o||(o=t.staggerAnchor=st("stagger-anchor"),o.__v_frag=t),z(o,n);var s=t.staggerCb=T(function(){t.staggerCb=null,t.before(o),Q(o)});setTimeout(s,i)}else{var a=n.nextSibling;a||(z(this.end,n),a=this.end),t.before(a)}},remove:function(t,e,n,r){if(t.staggerCb)return t.staggerCb.cancel(),void(t.staggerCb=null);var i=this.getStagger(t,e,n,"leave");if(r&&i){var o=t.staggerCb=T(function(){t.staggerCb=null,t.remove()});setTimeout(o,i)}else t.remove()},move:function(t,e){e.nextSibling||this.end.parentNode.appendChild(this.end),t.before(e.nextSibling,!1)},cacheFrag:function(t,e,r,i){var s,a=this.params.trackBy,u=this.cache,c=!b(t);i||a||c?(s=he(r,i,t,a),u[s]?"$index"!==a&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(t):u[s]=e):(s=this.id,o(t,s)?null===t[s]?t[s]=e:"production"!==n.env.NODE_ENV&&this.warnDuplicate(t):Object.isExtensible(t)?w(t,s,e):"production"!==n.env.NODE_ENV&&Dr("Frozen v-for objects cannot be automatically tracked, make sure to provide a track-by key.")),e.raw=t},getCachedFrag:function(t,e,r){var i,o=this.params.trackBy,s=!b(t);if(r||o||s){var a=he(e,r,t,o);i=this.cache[a]}else i=t[this.id];return i&&(i.reused||i.fresh)&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(t),i},deleteCachedFrag:function(t){var e=t.raw,n=this.params.trackBy,r=t.scope,i=r.$index,s=o(r,"$key")&&r.$key,a=!b(e);if(n||s||a){var u=he(i,s,e,n);this.cache[u]=null}else e[this.id]=null,t.raw=null},getStagger:function(t,e,n,r){r+="Stagger";var i=t.node.__v_trans,o=i&&i.hooks,s=o&&(o[r]||o.stagger);return s?s.call(t,e,n):e*parseInt(this.params[r]||this.params.stagger,10)},_preProcess:function(t){return this.rawValue=t,t},_postProcess:function(t){if(Wn(t))return t;if(_(t)){for(var e,n=Object.keys(t),r=n.length,i=new Array(r);r--;)e=n[r],i[r]={$key:e,$value:t[e]};return i}return"number"!=typeof t||isNaN(t)||(t=fe(t)),t||[]},unbind:function(){var t=this;if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var e,n=this.frags.length;n--;)e=t.frags[n],t.deleteCachedFrag(e),e.destroy()}};"production"!==n.env.NODE_ENV&&(eo.warnDuplicate=function(t){Dr('Duplicate value found in v-for="'+this.descriptor.raw+'": '+JSON.stringify(t)+'. Use track-by="$index" if you are expecting duplicate values.',this.vm)});var no={priority:Gi,terminal:!0,bind:function(){var t=this.el;if(t.__vue__)"production"!==n.env.NODE_ENV&&Dr('v-if="'+this.expression+'" cannot be used on an instance root element.',this.vm),this.invalid=!0;else{var e=t.nextElementSibling;e&&null!==V(e,"v-else")&&(Q(e),this.elseEl=e),this.anchor=st("v-if"),J(t,this.anchor)}},update:function(t){this.invalid||(t?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.factory||(this.factory=new ue(this.vm,this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseEl&&!this.elseFrag&&(this.elseFactory||(this.elseFactory=new ue(this.elseEl._context||this.vm,this.elseEl)),this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy(),this.elseFrag&&this.elseFrag.destroy()}},ro={bind:function(){var t=this.el.nextElementSibling;t&&null!==V(t,"v-else")&&(this.elseEl=t)},update:function(t){this.apply(this.el,t),this.elseEl&&this.apply(this.elseEl,!t)},apply:function(t,e){function n(){t.style.display=e?"":"none"}q(t)?H(t,e?1:-1,n,this.vm):n()}},io={bind:function(){var t=this,e=this.el,n="range"===e.type,r=this.params.lazy,i=this.params.number,o=this.params.debounce,s=!1;if(Qn||n||(this.on("compositionstart",function(){s=!0}),this.on("compositionend",function(){s=!1,r||t.listener()})),this.focused=!1,n||r||(this.on("focus",function(){t.focused=!0}),this.on("blur",function(){t.focused=!1,t._frag&&!t._frag.inserted||t.rawListener()})),this.listener=this.rawListener=function(){if(!s&&t._bound){var r=i||n?c(e.value):e.value;t.set(r),ir(function(){t._bound&&!t.focused&&t.update(t._watcher.value)})}},o&&(this.listener=x(this.listener,o)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var a=jQuery.fn.on?"on":"bind";jQuery(e)[a]("change",this.rawListener),r||jQuery(e)[a]("input",this.listener)}else this.on("change",this.rawListener),r||this.on("input",this.listener);!r&&zn&&(this.on("cut",function(){ir(t.listener)}),this.on("keyup",function(e){46!==e.keyCode&&8!==e.keyCode||t.listener()})),(e.hasAttribute("value")||"TEXTAREA"===e.tagName&&e.value.trim())&&(this.afterBind=this.listener)},update:function(t){t=u(t),t!==this.el.value&&(this.el.value=t)},unbind:function(){var t=this.el;if(this.hasjQuery){var e=jQuery.fn.off?"off":"unbind";jQuery(t)[e]("change",this.listener),jQuery(t)[e]("input",this.listener)}}},oo={bind:function(){var t=this,e=this.el;this.getValue=function(){if(e.hasOwnProperty("_value"))return e._value;var n=e.value;return t.params.number&&(n=c(n)),n},this.listener=function(){t.set(t.getValue())},this.on("change",this.listener),e.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){this.el.checked=E(t,this.getValue())}},so={bind:function(){var t=this,e=this,n=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var r=this.multiple=n.hasAttribute("multiple");this.listener=function(){var t=pe(n,r);t=e.params.number?Wn(t)?t.map(c):c(t):t,e.set(t)},this.on("change",this.listener);var i=pe(n,r,!0);(r&&i.length||!r&&null!==i)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",function(){ir(t.forceUpdate)}),q(n)||ir(this.forceUpdate)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var n,r,i=this.multiple&&Wn(t),o=e.options,s=o.length;s--;)n=o[s],r=n.hasOwnProperty("_value")?n._value:n.value,n.selected=i?de(t,r)>-1:E(t,r)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},ao={bind:function(){function t(){var t=n.checked;return t&&n.hasOwnProperty("_trueValue")?n._trueValue:!t&&n.hasOwnProperty("_falseValue")?n._falseValue:t}var e=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:e.params.number?c(n.value):n.value},this.listener=function(){var r=e._watcher.value;if(Wn(r)){var i=e.getValue();n.checked?C(r,i)<0&&r.push(i):r.$remove(i)}else e.set(t())},this.on("change",this.listener),n.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){var e=this.el;Wn(t)?e.checked=C(t,this.getValue())>-1:e.hasOwnProperty("_trueValue")?e.checked=E(t,e._trueValue):e.checked=!!t}},uo={text:io,radio:oo,select:so,checkbox:ao},co={priority:Ui,twoWay:!0,handlers:uo,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite&&"production"!==n.env.NODE_ENV&&Dr('It seems you are using a read-only filter with v-model="'+this.descriptor.raw+'". You might want to use a two-way filter to ensure correct behavior.',this.vm);var t,e=this.el,r=e.tagName;if("INPUT"===r)t=uo[e.type]||uo.text;else if("SELECT"===r)t=uo.select;else{if("TEXTAREA"!==r)return void("production"!==n.env.NODE_ENV&&Dr("v-model does not support element type: "+r,this.vm));t=uo.text}e.__v_model=this,t.bind.call(this),this.update=t.update,this._unbind=t.unbind},checkFilters:function(){var t=this,e=this.filters;if(e)for(var n=e.length;n--;){var r=_t(t.vm.$options,"filters",e[n].name);("function"==typeof r||r.read)&&(t.hasRead=!0),r.write&&(t.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},lo={esc:27,tab:9,enter:13,space:32,"delete":[8,46],up:38,left:37,right:39,down:40},fo={priority:Bi,acceptStatement:!0,keyCodes:lo,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){Y(t.el.contentWindow,t.arg,t.handler,t.modifiers.capture)},this.on("load",this.iframeBind)}},update:function(t){if(this.descriptor.raw||(t=function(){}),"function"!=typeof t)return void("production"!==n.env.NODE_ENV&&Dr("v-on:"+this.arg+'="'+this.expression+'" expects a function value, got '+t,this.vm));this.modifiers.stop&&(t=ge(t)),this.modifiers.prevent&&(t=me(t)),this.modifiers.self&&(t=ye(t));var e=Object.keys(this.modifiers).filter(function(t){return"stop"!==t&&"prevent"!==t&&"self"!==t&&"capture"!==t});e.length&&(t=ve(t,e)),this.reset(),this.handler=t,this.iframeBind?this.iframeBind():Y(this.el,this.arg,this.handler,this.modifiers.capture)},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&G(t,this.arg,this.handler)},unbind:function(){this.reset()}},ho=["-webkit-","-moz-","-ms-"],po=["Webkit","Moz","ms"],vo=/!important;?$/,go=Object.create(null),mo=null,yo={deep:!0,update:function(t){"string"==typeof t?this.el.style.cssText=t:Wn(t)?this.handleObject(t.reduce(y,{})):this.handleObject(t||{})},handleObject:function(t){var e,n,r=this,i=this.cache||(this.cache={});for(e in i)e in t||(r.handleSingle(e,null),delete i[e]);for(e in t)n=t[e],n!==i[e]&&(i[e]=n,r.handleSingle(e,n))},handleSingle:function(t,e){if(t=be(t))if(null!=e&&(e+=""),e){var r=vo.test(e)?"important":"";r?("production"!==n.env.NODE_ENV&&Dr("It's probably a bad idea to use !important with inline rules. This feature will be deprecated in a future version of Vue."),e=e.replace(vo,"").trim(),this.el.style.setProperty(t.kebab,e,r)):this.el.style[t.camel]=e}else this.el.style[t.camel]=""}},bo="http://www.w3.org/1999/xlink",_o=/^xlink:/,wo=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,xo=/^(?:value|checked|selected|muted)$/,Co=/^(?:draggable|contenteditable|spellcheck)$/,To={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},Eo={priority:zi,bind:function(){var t=this.arg,e=this.el.tagName;t||(this.deep=!0);var r=this.descriptor,i=r.interp;if(i&&(r.hasOneTime&&(this.expression=S(i,this._scope||this.vm)),(wo.test(t)||"name"===t&&("PARTIAL"===e||"SLOT"===e))&&("production"!==n.env.NODE_ENV&&Dr(t+'="'+r.raw+'": attribute interpolation is not allowed in Vue.js directives and special attributes.',this.vm),this.el.removeAttribute(t),this.invalid=!0),"production"!==n.env.NODE_ENV)){var o=t+'="'+r.raw+'": ';"src"===t&&Dr(o+'interpolation in "src" attribute will cause a 404 request. Use v-bind:src instead.',this.vm),"style"===t&&Dr(o+'interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.',this.vm)}},update:function(t){if(!this.invalid){var e=this.arg;this.arg?this.handleSingle(e,t):this.handleObject(t||{})}},handleObject:yo.handleObject,handleSingle:function(t,e){var n=this.el,r=this.descriptor.interp;if(this.modifiers.camel&&(t=h(t)),!r&&xo.test(t)&&t in n){var i="value"===t&&null==e?"":e;n[t]!==i&&(n[t]=i)}var o=To[t];if(!r&&o){n[o]=e;var s=n.__v_model;s&&s.listener()}return"value"===t&&"TEXTAREA"===n.tagName?void n.removeAttribute(t):void(Co.test(t)?n.setAttribute(t,e?"true":"false"):null!=e&&e!==!1?"class"===t?(n.__v_trans&&(e+=" "+n.__v_trans.id+"-transition"),K(n,e)):_o.test(t)?n.setAttributeNS(bo,t,e===!0?"":e):n.setAttribute(t,e===!0?"":e):n.removeAttribute(t))}},$o={priority:Xi,bind:function(){if(this.arg){var t=this.id=h(this.arg),e=(this._scope||this.vm).$els;o(e,t)?e[t]=this.el:kt(e,t,this.el)}},unbind:function(){var t=(this._scope||this.vm).$els;t[this.id]===this.el&&(t[this.id]=null)}},ko={bind:function(){"production"!==n.env.NODE_ENV&&Dr("v-ref:"+this.arg+" must be used on a child component. Found on <"+this.el.tagName.toLowerCase()+">.",this.vm)}},No={bind:function(){var t=this.el;this.vm.$once("pre-hook:compiled",function(){t.removeAttribute("v-cloak")})}},Oo={text:Di,html:Vi,"for":eo,"if":no,show:ro,model:co,on:fo,bind:Eo,el:$o,ref:ko,cloak:No},Ao={deep:!0,update:function(t){t?"string"==typeof t?this.setClass(t.trim().split(/\s+/)):this.setClass(we(t)):this.cleanup()},setClass:function(t){var e=this;this.cleanup(t);for(var n=0,r=t.length;n<r;n++){var i=t[n];i&&xe(e.el,i,tt)}this.prevKeys=t},cleanup:function(t){var e=this,n=this.prevKeys;if(n)for(var r=n.length;r--;){var i=n[r];(!t||t.indexOf(i)<0)&&xe(e.el,i,et)}}},jo={priority:Ji,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__?"production"!==n.env.NODE_ENV&&Dr('cannot mount component "'+this.expression+'" on already mounted element: '+this.el):(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=nt(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=st("v-component"),J(this.el,this.anchor),this.el.removeAttribute("is"),this.el.removeAttribute(":is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+d(this.descriptor.ref)),this.literal&&this.setComponent(this.expression))},update:function(t){this.literal||this.setComponent(t)},setComponent:function(t,e){if(this.invalidatePending(),t){var n=this;this.resolveComponent(t,function(){n.mountComponent(e)})}else this.unbuild(!0),this.remove(this.childVM,e),this.childVM=null},resolveComponent:function(t,e){var n=this;this.pendingComponentCb=T(function(r){n.ComponentName=r.options.name||("string"==typeof t?t:null),n.Component=r,e()}),this.vm._resolveComponent(t,this.pendingComponentCb)},mountComponent:function(t){this.unbuild(!0);var e=this,n=this.Component.options.activate,r=this.getCached(),i=this.build();n&&!r?(this.waitingFor=i,Ce(n,i,function(){e.waitingFor===i&&(e.waitingFor=null,e.transition(i,t))})):(r&&i._updateRef(),this.transition(i,t))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(t){var e=this.getCached();if(e)return e;if(this.Component){var r={name:this.ComponentName,el:Kt(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};t&&y(r,t);var i=new this.Component(r);return this.keepAlive&&(this.cache[this.Component.cid]=i),"production"!==n.env.NODE_ENV&&this.el.hasAttribute("transition")&&i._isFragment&&Dr("Transitions will not work on a fragment instance. Template: "+i.$options.template,i),i}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(t){this.waitingFor&&(this.keepAlive||this.waitingFor.$destroy(),this.waitingFor=null);var e=this.childVM;return!e||this.keepAlive?void(e&&(e._inactive=!0,e._updateRef(!0))):void e.$destroy(!1,t)},remove:function(t,e){var n=this.keepAlive;if(t){this.pendingRemovals++,this.pendingRemovalCb=e;var r=this;t.$remove(function(){r.pendingRemovals--,n||t._cleanup(),!r.pendingRemovals&&r.pendingRemovalCb&&(r.pendingRemovalCb(),r.pendingRemovalCb=null)})}else e&&e()},transition:function(t,e){var n=this,r=this.childVM;switch(r&&(r._inactive=!0),t._inactive=!1,this.childVM=t,n.params.transitionMode){case"in-out":t.$before(n.anchor,function(){n.remove(r,e)});break;case"out-in":n.remove(r,function(){t.$before(n.anchor,e)});break;default:n.remove(r),t.$before(n.anchor,e)}},unbind:function(){var t=this;if(this.invalidatePending(),this.unbuild(),this.cache){for(var e in this.cache)t.cache[e].$destroy();this.cache=null}}},Do=jr._propBindingModes,So={},Io=/^[$_a-zA-Z]+[\w$]*$/,Ro=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/,Lo=jr._propBindingModes,Po={bind:function(){var t=this.vm,e=t._context,n=this.descriptor.prop,r=n.path,i=n.parentPath,o=n.mode===Lo.TWO_WAY,s=this.parentWatcher=new Xt(e,i,function(e){Ne(t,n,e)},{twoWay:o,filters:n.filters,scope:this._scope});if(ke(t,n,s.value),o){var a=this;t.$once("pre-hook:created",function(){a.childWatcher=new Xt(t,r,function(t){s.set(t)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},Fo=[],Ho=!1,Wo="transition",qo="animation",Vo=Zn+"Duration",Mo=tr+"Duration",Bo=Vn&&window.requestAnimationFrame,Uo=Bo?function(t){Bo(function(){Bo(t)})}:function(t){setTimeout(t,50)},zo=Pe.prototype;zo.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,tt(this.el,this.enterClass),t(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,Re(this.enterNextTick))},zo.enterNextTick=function(){var t=this;this.justEntered=!0,Uo(function(){t.justEntered=!1});var e=this.enterDone,n=this.getCssTransitionType(this.enterClass);this.pendingJsCb?n===Wo&&et(this.el,this.enterClass):n===Wo?(et(this.el,this.enterClass),this.setupCssCb(Kn,e)):n===qo?this.setupCssCb(er,e):e()},zo.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,et(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},zo.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,tt(this.el,this.leaveClass),this.left=!1,this.callHookWithCb("leave"),this.left||(this.cancel=this.hooks&&this.hooks.leaveCancelled,this.op&&!this.pendingJsCb&&(this.justEntered?this.leaveDone():Re(this.leaveNextTick)))},zo.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===Wo?Kn:er;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},zo.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),et(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},zo.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,G(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(et(this.el,this.enterClass),et(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},zo.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},zo.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=T(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},zo.getCssTransitionType=function(t){if(!(!Kn||document.hidden||this.hooks&&this.hooks.css===!1||Fe(this.el))){var e=this.type||this.typeCache[t];if(e)return e;var n=this.el.style,r=window.getComputedStyle(this.el),i=n[Vo]||r[Vo];if(i&&"0s"!==i)e=Wo;else{var o=n[Mo]||r[Mo];o&&"0s"!==o&&(e=qo)}return e&&(this.typeCache[t]=e),e}},zo.setupCssCb=function(t,e){this.pendingCssEvent=t;var n=this,r=this.el,i=this.pendingCssCb=function(o){o.target===r&&(G(r,t,i),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&e&&e())};Y(r,t,i)};var Qo={priority:Qi,update:function(t,e){var n=this.el,r=_t(this.vm.$options,"transitions",t);t=t||"v",e=e||"v",n.__v_trans=new Pe(n,t,r,this.vm),et(n,e+"-transition"),tt(n,t+"-transition")}},Xo={style:yo,"class":Ao,component:jo,prop:Po,transition:Qo},Jo=/^v-bind:|^:/,Yo=/^v-on:|^@/,Go=/^v-([^:]+)(?:$|:(.*)$)/,Zo=/\.[^\.]+/g,Ko=/^(v-bind:|:)?transition$/,ts=1e3,es=2e3;rn.terminal=!0;var ns=/[^\w\-:\.]/,rs=Object.freeze({compile:He,compileAndLinkProps:Be,compileRoot:Ue,transclude:fn,resolveSlots:vn}),is=/^v-on:|^@/;_n.prototype._bind=function(){
0 ignored issues
show
Complexity Best Practice introduced by
There is no return statement if i && i.alias === this.expression is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style introduced by
Consider using undefined instead of void(0). It is equivalent and more straightforward to read.
Loading history...
Complexity Best Practice introduced by
There is no return statement if this.length is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like ue should be capitalized.
Loading history...
Bug introduced by
The variable r is changed as part of the for loop for example by !_ && u.getCachedFrag(s, e, i) on line 9. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Complexity Best Practice introduced by
There is no return statement if this.Component is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Complexity introduced by
A for in loop automatically includes the property of any prototype object, consider checking the key using hasOwnProperty.

When iterating over the keys of an object, this includes not only the keys of the object, but also keys contained in the prototype of that object. It is generally a best practice to check for these keys specifically:

var someObject;
for (var key in someObject) {
    if ( ! someObject.hasOwnProperty(key)) {
        continue; // Skip keys from the prototype.
    }

    doSomethingWith(key);
}
Loading history...
Coding Style Best Practice introduced by
By convention, constructors like or should be capitalized.
Loading history...
Bug introduced by
The variable s is changed as part of the for loop for example by l ? c.$value: c on line 9. Only the value of the last iteration will be visible in this function if it is called after the loop.
Loading history...
Coding Style introduced by
As per coding-style, switch statements should have a default case.
Loading history...
Complexity Best Practice introduced by
There is no return statement if !(!Kn || document.hidden... === !1 || Fe(this.el)) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like ee should be capitalized.
Loading history...
Best Practice introduced by
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
Loading history...
10
var t=this.name,e=this.descriptor;if(("cloak"!==t||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=e.attr||"v-"+t;this.el.removeAttribute(n)}var r=e.def;if("function"==typeof r?this.update=r:y(this,r),this._setupParams(),this.bind&&this.bind(),this._bound=!0,this.literal)this.update&&this.update(e.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var i=this;this.update?this._update=function(t,e){i._locked||i.update(t,e)}:this._update=bn;var o=this._preProcess?g(this._preProcess,this):null,s=this._postProcess?g(this._postProcess,this):null,a=this._watcher=new Xt(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:o,postProcess:s,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(a.value)}},_n.prototype._setupParams=function(){var t=this;if(this.params){var e=this.params;this.params=Object.create(null);for(var n,r,i,o=e.length;o--;)n=d(e[o]),i=h(n),r=M(t.el,n),null!=r?t._setupParamWatcher(i,r):(r=V(t.el,n),null!=r&&(t.params[i]=""===r||r))}},_n.prototype._setupParamWatcher=function(t,e){var n=this,r=!1,i=(this._scope||this.vm).$watch(e,function(e,i){if(n.params[t]=e,r){var o=n.paramWatchers&&n.paramWatchers[t];o&&o.call(n,e,i)}else r=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(i)},_n.prototype._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!Mt(t)){var e=Vt(t).get,n=this._scope||this.vm,r=function(t){n.$event=t,e.call(n,n),n.$event=null};return this.filters&&(r=n._applyFilters(r,null,this.filters)),this.update(r),!0}},_n.prototype.set=function(t){this.twoWay?this._withLock(function(){this._watcher.set(t)}):"production"!==n.env.NODE_ENV&&Dr("Directive.set() can only be used inside twoWaydirectives.")},_n.prototype._withLock=function(t){var e=this;e._locked=!0,t.call(e),ir(function(){e._locked=!1})},_n.prototype.on=function(t,e,n){Y(this.el,t,e,n),(this._listeners||(this._listeners=[])).push([t,e])},_n.prototype._teardown=function(){var t=this;if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var e,r=this._listeners;if(r)for(e=r.length;e--;)G(t.el,r[e][0],r[e][1]);var i=this._paramUnwatchFns;if(i)for(e=i.length;e--;)i[e]();"production"!==n.env.NODE_ENV&&this.el&&this.el._vue_directives.$remove(this),this.vm=this.el=this._watcher=this._listeners=null}};var os=/[^|]\|[^|]/;Nt(kn),mn(kn),yn(kn),wn(kn),xn(kn),Cn(kn),Tn(kn),En(kn),$n(kn);var ss={priority:Ki,params:["name"],bind:function(){var t=this.params.name||"default",e=this.vm._slotContents&&this.vm._slotContents[t];e&&e.hasChildNodes()?this.compile(e.cloneNode(!0),this.vm._context,this.vm):this.fallback()},compile:function(t,e,n){if(t&&e){if(this.el.hasChildNodes()&&1===t.childNodes.length&&1===t.childNodes[0].nodeType&&t.childNodes[0].hasAttribute("v-if")){var r=document.createElement("template");r.setAttribute("v-else",""),r.innerHTML=this.el.innerHTML,r._context=this.vm,t.appendChild(r)}var i=n?n._scope:this._scope;this.unlink=e.$compile(t,n,i,this._frag)}t?J(this.el,t):Q(this.el)},fallback:function(){this.compile(nt(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},as={priority:Yi,params:["name"],paramWatchers:{name:function(t){no.remove.call(this),t&&this.insert(t)}},bind:function(){this.anchor=st("v-partial"),J(this.el,this.anchor),this.insert(this.params.name)},insert:function(t){var e=_t(this.vm.$options,"partials",t,!0);e&&(this.factory=new ue(this.vm,e),no.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},us={slot:ss,partial:as},cs=eo._postProcess,ls=/(\d{3})(?=\d)/g,fs={orderBy:An,filterBy:On,limitBy:Nn,json:{read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,arguments.length>1?e:2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},capitalize:function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},uppercase:function(t){return t||0===t?t.toString().toUpperCase():""},lowercase:function(t){return t||0===t?t.toString().toLowerCase():""},currency:function(t,e,n){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=null!=e?e:"$",n=null!=n?n:2;var r=Math.abs(t).toFixed(n),i=n?r.slice(0,-1-n):r,o=i.length%3,s=o>0?i.slice(0,o)+(i.length>3?",":""):"",a=n?r.slice(-1-n):"",u=t<0?"-":"";return u+e+s+i.slice(o).replace(ls,"$1,")+a},pluralize:function(t){var e=m(arguments,1),n=e.length;if(n>1){var r=t%10-1;return r in e?e[r]:e[n-1]}return e[0]+(1===t?"":"s")},debounce:function(t,e){if(t)return e||(e=300),x(t,e)}};Dn(kn),kn.version="1.0.26",setTimeout(function(){jr.devtools&&(Mn?Mn.emit("init",kn):"production"!==n.env.NODE_ENV&&Vn&&/Chrome\/\d+/.test(window.navigator.userAgent))},0),t.exports=kn}).call(e,n(0),n(7))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,configurable:!1,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,configurable:!1,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){t.exports='\n<div class="container">\n    <div class="row">\n        <div class="col-md-8 col-md-offset-2">\n            <div class="panel panel-default">\n                <div class="panel-heading">Example Component</div>\n\n                <div class="panel-body">\n                    I\'m an example component!\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n'},function(t,e,n){n(1),Vue.component("example",n(2));new Vue({el:"body"})}]);
0 ignored issues
show
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Coding Style Best Practice introduced by
By convention, constructors like ue should be capitalized.
Loading history...
Complexity Best Practice introduced by
There is no return statement if t is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Unused Code introduced by
The parameter e is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Unused Code Best Practice introduced by
The object created with new Vue({IdentifierNode(...ringLiteralNode(body)}) is not used but discarded. Consider invoking another function instead of a constructor if you are doing this purely for side effects.
Loading history...
Bug introduced by
The variable Vue seems to be never declared. If this is a global, consider adding a /** global: Vue */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
Complexity Best Practice introduced by
There is no return statement if t && this.acceptStatement && !Mt(t) is false. Are you sure this is correct? If so, consider adding return; explicitly.

This check looks for functions where a return statement is found in some execution paths, but not in all.

Consider this little piece of code

function isBig(a) {
    if (a > 5000) {
        return "yes";
    }
}

console.log(isBig(5001)); //returns yes
console.log(isBig(42)); //returns undefined

The function isBig will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly return undefined.

This behaviour may not be what you had intended. In any case, you can add a return undefined to the other execution path to make the return value explicit.

Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...